diff options
author | Christian Chiarulli <[email protected]> | 2019-02-16 11:44:35 -0500 |
---|---|---|
committer | Christian Chiarulli <[email protected]> | 2019-02-16 11:44:35 -0500 |
commit | fa1be111d1224f9dad7c4c94ff3ab30f64894023 (patch) | |
tree | 8f31624cbe76c8cc3789cfd48485b0d4bb6837c6 /modules/goyo-limelight.vim | |
parent | 74c68a986fb9dcc6d43290de65d3361d8e63a8a1 (diff) |
added new features goyo, sneak
Diffstat (limited to 'modules/goyo-limelight.vim')
-rw-r--r-- | modules/goyo-limelight.vim | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/modules/goyo-limelight.vim b/modules/goyo-limelight.vim new file mode 100644 index 00000000..5b46b129 --- /dev/null +++ b/modules/goyo-limelight.vim @@ -0,0 +1,39 @@ + +"Make window a little bigger" +" +let g:goyo_width=100 +let g:goy_height=95 +" +" +" Disable Deoplete " + +function! s:goyo_enter() + + call deoplete#custom#option('auto_complete', v:false) + set spell spelllang=en_us + set wrap + set tw=100 + set noshowcmd + set scrolloff=999 +"" set background=light +"" colorscheme flattened_light + Limelight + " ... +endfunction + +function! s:goyo_leave() + + call deoplete#custom#option('auto_complete', v:true) + set nospell + set wrap! + set showcmd + set scrolloff=5 +"" set background=dark +"" colorscheme Tender + Limelight! + " ... +endfunction + +autocmd! User GoyoEnter nested call <SID>goyo_enter() +autocmd! User GoyoLeave nested call <SID>goyo_leave() + |