I'm trying to create a key mapping that makes switching buffers quicker and easier - something like:
set wildmenu
nnoremap <Tab> :buffer<space><Tab>
The problem is, this mapping leaves me at the end of a command line that looks like:
:buffer ^I
when I want it to start tabbing through the list of buffers.
I've searched the help files and Google, and tried many different combinations of :execute
and :normal
, all to no avail. Is there a way to do what I'm asking, or am I stuck with the following, two-keypress solution?
set wildmenu
nnoremap <Tab> :buffer<space>
Then, pressing <Tab><Tab>
will do what I want.