I have mappings within my .vimrc
to open or switch to commonly used applications.
Use Case: I have 10 open applications and I'm in MacVim. It's faster to issue <Leader>sc
which is mapped to map <Leader>sc :silent !open /Applications/Google\ Chrome.app<CR>
, than to Command+Tab
several times to get to the Chrome app.
However, there is a delay by vim from the time I issue <Leader>sc
to when it executes the action.
How can I reduce this delay just for this mapping?
I'd like this to be as instantaneous as running open /Applications/Google\ Chrome.app
from the command line, however vim introduces a slight delay before it executes that command.
Edit: I noticed there is a timeoutlen
setting, however that is global. I'd like something similar just for these mappings.