diff options
-rw-r--r-- | base/vimrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |