I have
nnoremap <C-]> :bn<Enter>
nnoremap <C-[> :bp<Enter>
so that I can use Ctrl
+ [
and ]
to flip between buffers. I'm experiencing an issue where these two shortcuts behave differently
Ctrl+]
instantly switches to the next buffer (good).Ctrl+[
hangs for about half a second before switching to the previous buffer (bad).
Curiously, using the command :bp
directly (i.e. without the Ctrl+[
remap) still instantly switches to the previous buffer as it should. Its only when invoking it with the Ctrl-[
remap that the delay occurs. This is very strange and seems to be some property of nnoremap
that I don't understand.
Why would only one of these work instantly and how can I get the other one to work instantly?