Awesome
vim-zenmode
This plugin transforms vim into a distraction free editor similar to writeroom or iaWriter.
Zen mode is based on Vimroom by Mike West. It has only been tested on gvim + Xubuntu
Installation
Install pathogen.vim if you haven't already done so, then simply execute:
cd ~/.vim/bundle
git clone git://github.com/mmai/vim-zenmode.git
Install a good looking monospaced font :
cd ~/.font
curl http://www.fontsquirrel.com/fonts/download/cousine > cousine.zip
unzip cousine.zip
fc-cache -vf ~/.font
Configure zenmode font and colorscheme in your .vimrc :
"Zenmode
let g:zenmode_background = "dark"
let g:zenmode_colorscheme = "solarized"
let g:zenmode_font ="Cousine 12"
Usage
- Open gvim. Expand your window if necessary
- Switch to Zen Mode with
<LEADER> + Z
- Go Full Screen (
ALT + F11
on Xubuntu) - Write great things
- Quit with :qa (there are many windows to close)
Tips
- If you plan to use Zenmode when writing markdown documents, installing vim-markdown is a good way to enhance your experience.
- Get your document words count with :
g <CTRL>+g