weynhamz/vim-plugin-minibufexpl

Tabbing between tabs

timshannon opened this issue · 1 comments

Just found this fork, and it fixes every single issue I had with original, which is awesome.

However, I have it ingrained into my fingers to move up to the tab listing, and then it Tab and SHift-Tab to switch back and forth between the available tabs.

It looks like it was specifically removed?

* Key bindings '<TAB>' and '<S-TAB>' in MBE window have been changed
          to '<right>' and '<left>' to avoid unnecessary conflict with some
          system's key bindings.
          (ca0cc8d, d788c7a)

I tried to rebind it, but I can't seem to get it to work only when I'm in the tabs window, and not always.

I can retrain myself, but I was wondering if there is a way to bind this back to how it used to work, and if so what exact issues does it cause?

guduo commented

change minibufexpl.vim:

686a687,688

nnoremap <buffer> <Tab>   :call search('\[[^\]]*\]')<CR>:<BS>
nnoremap <buffer> <S-Tab> :call search('\[[^\]]*\]','b')<CR>:<BS>

691a694,695

nnoremap <buffer> <Tab>   :call search('\[[0-9]*:[^\]]*\]')<CR>:<BS>
nnoremap <buffer> <S-Tab> :call search('\[[0-9]*:[^\]]*\]','b')<CR>:<BS>