My vim configuration
git clone https://mcol.xyz/code/vim-misc
Log | Files | Refs | README

commit 792da2d1f8c345337af41f36552612f21e35dfd3
parent 9d08b625a866214486d6d100e2fe9291c61fc47a
Author: mcol <mcol@posteo.net>
Date:   Sat,  9 Feb 2019 10:22:51 +0000

added goyo ftplugin

Diffstat:
Aplugin/goyo.vim | 15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/plugin/goyo.vim b/plugin/goyo.vim @@ -0,0 +1,15 @@ +"------------------------------------------------------------------" +" Goyo configuration +"------------------------------------------------------------------" + +function! s:goyo_enter() + set noshowmode + set noshowcmd +endfunction + +function! s:goyo_leave() + source ~/.vim/bundle/vim-misc/plugin/theme.vim +endfunction + +autocmd! User GoyoEnter nested call <SID>goyo_enter() +autocmd! User GoyoLeave nested call <SID>goyo_leave()