My vim configuration
git clone https://github.com/m-col/vim-misc
Files | Refs | Readme

Commit 792da2d1f8c345337af41f36552612f21e35dfd3
Parent: 9d08b625a866214486d6d100e2fe9291c61fc47a
Author: mcol <mcol@posteo.net>
Date: 2019-02-09 10:22:51 +0000
Committer: mcol <mcol@posteo.net>
Committed: 2019-02-09 10:22:51 +0000

added goyo ftplugin

plugin/goyo.vim Added

@@ -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()