I've mapped the <Tab> key to switch buffers. However, as <Tab> is equivalent to <Ctrl-I>, I'm unable to navigate the jumplist.
Is there any way to map the jumplist navigation to some other key (say g, and g. for example) such that I can use <Tab> independently?
Yes, just use nore when defining the maps.
nnoremap g, <C-o>
nnoremap g. <C-i>
The nore tells vim to not respect maps in the right hand side of the mapping.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With