sponsor Vim development Vim logo Vim Book Ad

DistractFree : An WriteRoom/DarkRoom/OmniWrite like plugin

 script karma  Rating 19/13, Downloaded by 937    Comments, bugs, improvements  Vim wiki

created by
Christian Brabandt
script type
color scheme

Feedback is always welcome. See :h DistractFree-feedback.

This plugin has been made to enable a WriteRoom/DarkRoom/OmniWriter like behaviour in Vim.

When enabled, all unnecessary features are turned off, so you can concentrate
on writing with Vim. It also creates on each side a couple of empty windows,
so that the text will be centered around the screen.

This plugin defines the following commands:


This commnd toggles between normal Vim mode and the distraction free mode.

Alternatively, you can use the key <leader>W in normal mode to toggle between normal
mode and Distraction Free mode. (If you haven't setup your leaderkey, see| use the '' key)
install details
edit the file DistractFree.vmb with vim. From within vim simply source this file (by typing):
:so %

Vim will automatically install this plugin.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
DistractFree-0.5.vmb 5 2013-08-15 7.3 Christian Brabandt - updated documentation by Ingo Karkat, Thanks!, issue #1
- Make State of plugin avaivable to extern (patch by Ingo Karkat, Thanks!, issue #2)
- Ensure, padding of 'stl' works correctly (patch by Ingo Karkat, Thanks!, issue #3)
- :q in DistractMode quits vim correctly
- Save/Restore User highlighting
(automatically uploaded)
DistractFree-0.4.vmb 4 2013-02-16 7.3 Christian Brabandt - set/restore guifont
- updated colorscheme
- remove font attribute from Normal highlighting
- make current window the only window
(automatically uploaded)
DistractFree-0.3.vmb 3 2012-12-14 7.3 Christian Brabandt Enable GLVS
(automatically uploaded)
DistractFree-0.2.vmb 0.2 2012-12-14 7.3 Christian Brabandt Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo