Simplify Goyo/Limelight
This commit is contained in:
parent
3b626ff437
commit
921f3c13e0
1 changed files with 2 additions and 10 deletions
12
vimrc
12
vimrc
|
@ -145,8 +145,8 @@ if has('autocmd')
|
||||||
autocmd BufRead,BufNewFile *.yaml set et sw=2
|
autocmd BufRead,BufNewFile *.yaml set et sw=2
|
||||||
autocmd BufRead,BufNewFile *.yml set et sw=2
|
autocmd BufRead,BufNewFile *.yml set et sw=2
|
||||||
|
|
||||||
autocmd User GoyoEnter nested call <SID>goyo_enter()
|
autocmd User GoyoEnter Limelight
|
||||||
autocmd User GoyoLeave nested call <SID>goyo_leave()
|
autocmd User GoyoLeave Limelight!
|
||||||
|
|
||||||
augroup VCenterCursor
|
augroup VCenterCursor
|
||||||
au!
|
au!
|
||||||
|
@ -217,14 +217,6 @@ if has('wildmenu')
|
||||||
set wildmenu
|
set wildmenu
|
||||||
endif
|
endif
|
||||||
|
|
||||||
function! s:goyo_enter()
|
|
||||||
Limelight
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! s:goyo_leave()
|
|
||||||
Limelight!
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
" Customise colour schemes. Keep this near the end.
|
" Customise colour schemes. Keep this near the end.
|
||||||
if &background ==# 'light'
|
if &background ==# 'light'
|
||||||
highlight SpecialKey ctermfg=lightgray ctermbg=NONE
|
highlight SpecialKey ctermfg=lightgray ctermbg=NONE
|
||||||
|
|
Loading…
Reference in a new issue