vim: add undo file
This commit is contained in:
parent
0149b1db11
commit
b7736702eb
0
.vim/undo/.gitignore
vendored
Normal file
0
.vim/undo/.gitignore
vendored
Normal file
10
.vimrc
10
.vimrc
@ -68,6 +68,14 @@ filetype plugin indent on
|
|||||||
|
|
||||||
" exrc allows loading local executing local rc files.
|
" exrc allows loading local executing local rc files.
|
||||||
" secure disallows the use of :autocmd, shell and write commands in local .vimrc files.
|
" secure disallows the use of :autocmd, shell and write commands in local .vimrc files.
|
||||||
|
|
||||||
|
" save undo trees in files
|
||||||
|
set undofile
|
||||||
|
set undodir=~/.vim/undo
|
||||||
|
|
||||||
|
" number of undo saved
|
||||||
|
set undolevels=10000
|
||||||
|
|
||||||
""""""""
|
""""""""
|
||||||
" SAVE "
|
" SAVE "
|
||||||
""""""""
|
""""""""
|
||||||
@ -284,7 +292,7 @@ function! TagInNewTab()
|
|||||||
execute 'tag ' . word
|
execute 'tag ' . word
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
map <C-I> :call TagInNewTab()<CR>
|
map <C-S-I> :call TagInNewTab()<CR>
|
||||||
|
|
||||||
"""""""""
|
"""""""""
|
||||||
" PASTE "
|
" PASTE "
|
||||||
|
Loading…
Reference in New Issue
Block a user