One Thing Well

A weblog about simple, useful software.

Follow on Twitter, App.net, Google+ or via the feed. Feel free to get in touch. Sponsor the site.

Vimroom gives Vim a WriteRoom-style ‘distraction free’ look.

Adding a plugin to make Vim (even more) distraction free strikes me as overkill. To acheive a similar effect, you can try the following settings, or similar (these options work with my setup , on my screen, at least):


highlight NonText ctermfg=white   " Match the tildes to your background
set laststatus=0                  " No statusbar
set nonumber                      " No line numbering
set showtabline=0                 " don't show the tab bar
set foldcolumn=4                  " Add a left margin
highlight! link FoldColumn Normal " Make it the background colour
set wrapmargin=8                  " Add a right margin, sort of


The result:



Click to view full size

Vimroom gives Vim a WriteRoom-style ‘distraction free’ look.

Adding a plugin to make Vim (even more) distraction free strikes me as overkill. To acheive a similar effect, you can try the following settings, or similar (these options work with my setup , on my screen, at least):

highlight NonText ctermfg=white   " Match the tildes to your background
set laststatus=0                  " No statusbar
set nonumber                      " No line numbering
set showtabline=0                 " don't show the tab bar
set foldcolumn=4                  " Add a left margin
highlight! link FoldColumn Normal " Make it the background colour
set wrapmargin=8                  " Add a right margin, sort of

The result:

Minimal Vim

Click to view full size