From ffd057b71fddfb80fb392123b63d797edd15e2fd Mon Sep 17 00:00:00 2001 From: katherine Date: Sun, 28 Jan 2018 14:15:09 -0700 Subject: add Goyo to write mode --- .vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vimrc b/.vimrc index 40db1da..18e13d2 100644 --- a/.vimrc +++ b/.vimrc @@ -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 -- cgit v1.2.3