diff options
author | katherine <shmibs@shmibbles.me> | 2018-01-28 14:15:09 -0700 |
---|---|---|
committer | katherine <shmibs@shmibbles.me> | 2018-01-28 14:15:09 -0700 |
commit | ffd057b71fddfb80fb392123b63d797edd15e2fd (patch) | |
tree | 2d0daa5cc81a4fce66da85a8c9058e8a1aa1a45a | |
parent | b995f743278168542adf819bb855695f45c60cd4 (diff) | |
download | dotfiles-ffd057b71fddfb80fb392123b63d797edd15e2fd.tar.gz |
add Goyo to write mode
-rw-r--r-- | .vimrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -37,6 +37,8 @@ Plugin 'lilydjwg/fcitx.vim' Plugin 'airblade/vim-gitgutter' +Plugin 'junegunn/goyo.vim' + Plugin 'sjl/gundo.vim' Plugin 'itchyny/lightline.vim' @@ -280,9 +282,11 @@ autocmd FileType * call Settings_skel_read() function! Settings_sub_wmodetoggle() if &fo =~ 'a' setlocal formatoptions-=a + Goyo! echo 'wmode off' else setlocal formatoptions+=a + Goyo echo 'wmode on' end endfunction |