This plugin provides two typewriter-inspired modes for Sublime Text 3*:
Typewriter Scrolling keeps the view centered on the current line, when there is more than half a screenful of text, à la iA Writer, WriteRoom and the like.
This mode keeps you from craning your neck to look at the bottom of the screen for hours on end. (If you happen to write for hours on end.)
Thanks to Rahul Ramadas scrolling mode includes mouse support.
Typewriter Typing moves your cursor to the end of the file and disables mouse clicks and all commands that move the cursor and/or select text -- leaving you only with letters, numbers, symbols, Backspace, Delete and Enter.
Stay in the flow of writing and don't let your inner editor stifle your verbiage ever again. (Also: experience the joy of not being able to go back and correct your typos.)
* The ST2 version is no longer being maintained.
This plugin is available through Package Control.
Select the Package Control: Install Package
command via the palette and choose the Typewriter
package.
Preferences > Browse Packages…
menu inside Sublime Text.)-- or --
Clone the repository in your Packages folder: git clone https://github.com/alehandrof/Typewriter.git
The typewriter modes can be toggled via the command palette. Just search for typewriter
. There are three commands: one to toggle each mode and one to toggle both modes together.
You can use the typewriter_mode_scrolling
setting to enable or disable the Scrolling mode. For example, I have "typewriter_mode_scrolling" : true,
in my Distraction Free settings.
The Typing mode needs to be triggered by the typewriter_typing_toggle
command. In earlier versions, you could also toggle this mode via a setting, but this doesn't work well in the current version.
The scrolling mode should work fine as configured. But there are two settings which allow you to tweak the commands that trigger scrolling mode. Look in the settings file for more details.
You can also use offset the centered line in scrolling mode using the typewriter_mode_scrolling_offset
setting; positive numbers move the centered line up, while negative ones move it down.
"scroll_past_end": true
. (By default it is set to true
in Windows and Linux, but false
in OSX.)typewriter_mode_scrolling
and typewriter_mode_typing
so they won't conflict with BufferScroll.typewriter_mode
renamed typewriter_scrolling
.scroll_past_end
if needed.