diff options
author | Alexis Hovorka <[email protected]> | 2023-03-25 15:01:36 -0600 |
---|---|---|
committer | Alexis Hovorka <[email protected]> | 2023-03-25 15:01:36 -0600 |
commit | 6d21e6a94fbcc061966a5b3850477202e868a912 (patch) | |
tree | c1ccc8873a73eb0a6eeabf187d86a70ecfbb7266 | |
parent | 031c8adfcd16a714f57e12f550c772631cad6bf6 (diff) |
[fix] Make Shift+O faster in vim
-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 |