10 years ago
On some keyboard the ^ may be in an awkward position, in particular in combination with ctrl. So I use a simple shortcut (,,) for switching to the previous buffer / alternate file. (remark; I use ',' as my "personal leader" (my own settings) and keep \ as mapleader for use by plugins etc.)
nnoremap ,, <C-^>
Rob Simpson 10 years ago
Cool, how do you remap mapleader for plugins? Does that mean all plugins start with \ ?