aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2018-01-28 14:15:09 -0700
committerkatherine <shmibs@shmibbles.me>2018-01-28 14:15:09 -0700
commitffd057b71fddfb80fb392123b63d797edd15e2fd (patch)
tree2d0daa5cc81a4fce66da85a8c9058e8a1aa1a45a
parentb995f743278168542adf819bb855695f45c60cd4 (diff)
downloaddotfiles-ffd057b71fddfb80fb392123b63d797edd15e2fd.tar.gz
add Goyo to write mode
-rw-r--r--.vimrc4
1 files changed, 4 insertions, 0 deletions
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