1
0
Fork 0
mirror of synced 2024-05-28 21:11:12 -04:00
ultimate-vim/sources_non_forked/vim-zenroom2
Jesus Alberto Paz Jimenez 505a6a8bef Update zenroom2.vim
VIM - Vi IMproved 7.4 under cygwin generates the following errors

>Se ha detectado un error al procesar /home/alberto.paz/.vim_runtime/sources_non_forked/vim-zenroom2/plugin/zenroom2.vim:
>línea   65
>E128: Function name must start with a capital or "s:": g:zenroom_goyo_before()
>línea   67
>E133: ":return" no está dentro de una función
>línea   74
>E193: ¡":endfunction" no está dentro de una función!
>línea   76
>E128: Function name must start with a capital or "s:": g:zenroom_goyo_after()
>línea   78
>E133: ":return" no está dentro de una función
>línea   88
>E193: ¡":endfunction" no está dentro de una función!
>línea   90
>E700: Función desconocida: g:zenroom_goyo_before
>E700: Función desconocida: g:zenroom_goyo_after
2014-04-28 17:03:32 +02:00
..
plugin Update zenroom2.vim 2014-04-28 17:03:32 +02:00
README.markdown Updated plugins 2014-01-07 00:25:41 +00:00

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>

Inspirations/Similar

How it looks like in action

Screenshot 3

Screenshot 4