]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vimrc
vimrc: Increase history of executed commands and count of undos.
[config/dotfiles.git] / vimrc
diff --git a/vimrc b/vimrc
index 77280238d06c7e72a007f8c71fbe31c5275cdb3d..a5ee192ff3e140e6567e8f31ff89c35778d41722 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -44,6 +44,12 @@ set nomodeline
 " (http://pbrisbin.com:8080/dotfiles/vimrc).
 set wildmode=list:longest,full
 
+" Increase history of executed commands (:).
+set history=1000
+
+" Increase number of possible undos.
+set undolevels=1000
+
 " Use strong encryption if possible, also used for swap/undo files.
 if v:version >= 703
     set cryptmethod=blowfish