3

I'm using NerdTree and MiniBufExplorer, and I simply want to switch between my files using Ctrl-Tab and Ctrl-Shift-Tab.

I've tried every combination of [map,remap,noremap,imap] <C-TAB> :bn<Return>

with no success at all.

ThinkingStiff
  • 64,767
  • 30
  • 146
  • 239
Bill
  • 2,319
  • 9
  • 29
  • 36
  • 1
    checkout [this answer](http://stackoverflow.com/a/2695818/668963). – neevek Dec 20 '12 at 16:36
  • Thank you. This is definitely the case. I used an alternative character to tab and it works now. – Bill Dec 20 '12 at 16:41
  • It won't work because these shortcuts are not recognized. Better get used to `:bn` and `:bp`. – romainl Dec 20 '12 at 16:43
  • I'm using Ctrl+Z and Ctrl+Shift+Z. Pretty convenient. – Bill Dec 20 '12 at 16:46
  • 1
    I use mintty (in windows) and can use `` to change between different windows in screen. Very useful. For changing buffers I would recommend Ctrlp (which can help you to search based on the buffer name very quickly) or unimpared (another plugin) which defined the mappings [b and ]b to change to previous and next buffer. I got used to these and find them nice. – skeept Dec 20 '12 at 16:48
  • 1
    possible duplicate of [Mapping in my vimrc fails in Ubuntu](http://stackoverflow.com/questions/2686766/mapping-c-tab-in-my-vimrc-fails-in-ubuntu) – Ingo Karkat Dec 21 '12 at 00:27

1 Answers1

0

You also might want to check this plugin that I made: Bufstop

It's better than :bn and :bp since it uses the most recently used buffers instead.

mihai
  • 37,072
  • 9
  • 60
  • 86