mirror of
https://github.com/amix/vimrc
synced 2024-11-15 16:27:59 +00:00
1.3 KiB
1.3 KiB
This is a Vim extension that emulates iA Writer environment when editing Markdown, reStructuredText or text files.
It requires goyo.vim and it works by setting global Goyo callbacks that triggers special setup for Markdown, reStructuredText and text files.
This is an improvement of my initial version called vim-zenroom. Please read more here zenroom for Vim: Focusing only on the essential.
Please note that this might not work perfectly with your colorscheme. Patches are welcome to fix this :-)
Installaion and usage
- Install goyo.vim
- In command mode type :Goyo
Additionally you may want to have a shortcut. Add this to your vimrc:
nnoremap <silent> <leader>z :Goyo<cr>