Selaa lähdekoodia

~/.vimrc: don't show mode in focus mode.

Lucas Stadler 12 vuotta sitten
vanhempi
commit
ae3857b128
1 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  1. 8 0
      .vimrc

+ 8 - 0
.vimrc

@ -33,6 +33,14 @@ if isdirectory($HOME . '/.vim/bundle/vundle')
33 33
	Bundle 'kchmck/vim-coffee-script'
34 34
35 35
	Bundle 'junegunn/goyo.vim'
36
	function! g:goyo_before()
37
		set noshowmode
38
	endfunction
39
40
	function! g:goyo_after()
41
		set showmode
42
	endfunction
43
	let g:goyo_callbacks = [function('g:goyo_before'), function('g:goyo_after')]
36 44
endif
37 45
38 46
" Have syntax highlighting and non-vi features