Disabled fsync and enabled periodic checktime
This commit is contained in:
parent
50d259267a
commit
db871c9dc4
1 changed files with 10 additions and 0 deletions
10
vim/vimrc
10
vim/vimrc
|
@ -55,6 +55,16 @@ set number
|
||||||
" always enable status line
|
" always enable status line
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
|
||||||
|
" faster saving
|
||||||
|
set nofsync
|
||||||
|
|
||||||
|
" autoread/checktime timer
|
||||||
|
set autoread
|
||||||
|
function CheckTime(timer)
|
||||||
|
checktime
|
||||||
|
endfunction
|
||||||
|
let timerChecktime = timer_start(4000, 'CheckTime', {'repeat': -1})
|
||||||
|
|
||||||
" ctags config
|
" ctags config
|
||||||
set tags=./tags;
|
set tags=./tags;
|
||||||
nnoremap <F2> <C-]>
|
nnoremap <F2> <C-]>
|
||||||
|
|
Loading…
Reference in a new issue