From 6d21e6a94fbcc061966a5b3850477202e868a912 Mon Sep 17 00:00:00 2001 From: Alexis Hovorka Date: Sat, 25 Mar 2023 15:01:36 -0600 Subject: [fix] Make Shift+O faster in vim --- base/vimrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'base/vimrc') diff --git a/base/vimrc b/base/vimrc index 0db1a1e..1f74846 100644 --- a/base/vimrc +++ b/base/vimrc @@ -241,6 +241,11 @@ nnoremap N :call NumberToggle() "au InsertEnter * :set norelativenumber "au InsertLeave * :set relativenumber +" Make 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 -- cgit v1.2.3-70-g09d2