mirror of
https://github.com/lloeki/vimfiles.git
synced 2025-12-06 13:34:39 +01:00
disable undo feature
This commit is contained in:
parent
b90d14f1f5
commit
7f18a79fd5
1 changed files with 2 additions and 2 deletions
4
vimrc
4
vimrc
|
|
@ -111,7 +111,7 @@ autocmd FileType eruby set softtabstop=2 shiftwidth=2
|
||||||
|
|
||||||
"swap/undo files
|
"swap/undo files
|
||||||
set dir=~/.vim/tmp/swap//,/var/tmp//,/tmp//,.
|
set dir=~/.vim/tmp/swap//,/var/tmp//,/tmp//,.
|
||||||
set undodir=~/.vim/tmp/undo//,.
|
"set undodir=~/.vim/tmp/undo//,.
|
||||||
|
|
||||||
"buffer management
|
"buffer management
|
||||||
set swb=usetab "make :sb <filename> go to tabs too
|
set swb=usetab "make :sb <filename> go to tabs too
|
||||||
|
|
@ -172,7 +172,7 @@ map! <M-Right> <C-Right>
|
||||||
"match OverLength /\%81v.\+/
|
"match OverLength /\%81v.\+/
|
||||||
|
|
||||||
" conserve undo info
|
" conserve undo info
|
||||||
set undofile
|
"set undofile
|
||||||
|
|
||||||
" restore last known cursor position
|
" restore last known cursor position
|
||||||
function! ResCur()
|
function! ResCur()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue