aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-20 22:59:30 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-20 22:59:45 +1200
commit98f8b4cdef2b20b8d6505a02312e6cb523897163 (patch)
tree64209d6efcb70d1101acb8c69ee15f4f0f3204cf /vim/vimrc
parentRemove 'esckeys' .vimrc setting (diff)
downloaddotfiles-98f8b4cdef2b20b8d6505a02312e6cb523897163.tar.gz
dotfiles-98f8b4cdef2b20b8d6505a02312e6cb523897163.zip
Remove unnecessary 'undofile' settings
On Unix, 'undolevels' defaults to 1000, and 'undofile' defaults to off.
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc9
1 files changed, 0 insertions, 9 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 874159b9..b5a84d59 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -225,15 +225,6 @@ set visualbell t_vb=
" Rebind Ctrl-C in insert mode to undo the current insert operation
inoremap <C-C> <C-C>u
-" Keep screeds of undo history
-set undolevels=2000
-
-" 'undodir' and 'undofile' settings will be taken care of by the
-" auto_cache_dirs.vim plugin if applicable/possible
-if has('persistent_undo')
- set noundofile
-endif
-
" When in visual block mode, let me move the cursor anywhere in the buffer;
" don't restrict me only to regions with text
if has('virtualedit')