How to make ruler always be shown in Sublime text 2?

前端 未结 7 1351
无人及你
无人及你 2020-12-22 17:12

I use Sublime Text 2 and want a Ruler to be shown in every file with specific line-height. But I have to show it manually in every file.

7条回答
  •  误落风尘
    2020-12-22 17:53

    While the answer by Ross Allen is great, it isn't the most convenient if you find yourself wanting to toggle the rulers on and off or change the width at various points while using Sublime.

    Luckily, someone made a Package that allows you to do this.

    https://packagecontrol.io/packages/QuickRulers

    The package works in both Sublime Text 2 and 3.


    Install Instructions:

    1. Install PackageControl
    2. Open PackageControll (e.g. via ⌘ + SHIFT + P)
    3. Type "Install" and select "Package Control: Install Package"
    4. Type "QuickRulers" and hit Enter to install the QuickRulers package.

    You can access the command (quick_rulers) through several different means, but by default it is loaded in Omnisearch via "QuickRulers: Open Panel". (i.e., Hit ⌘ + SHIFT + P and type "QuickRulers: Open Panel")

提交回复
热议问题