aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base/vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/vimrc b/base/vimrc
index 0db1a1e..1f74846 100644
--- a/base/vimrc
+++ b/base/vimrc
@@ -241,6 +241,11 @@ nnoremap <leader>N :call NumberToggle()<cr>
"au InsertEnter * :set norelativenumber
"au InsertLeave * :set relativenumber
+" Make <shift>O a little faster when coming straight out of insert mode
+set timeout ttimeout " separate mapping and keycode timeouts
+set timeoutlen=500 " mapping timeout 500ms
+set ttimeoutlen=50 " keycode timeout 50ms
+
" Open to last position ====----
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif