ap / vim-buftabline

Forget Vim tabs – now you can have buffer tabs
http://www.vim.org/scripts/script.php?script_id=5057
MIT License
782 stars 75 forks source link

add plugs for selecting buffers with ordinal numbers. #18

Closed cenkalti closed 8 years ago

cenkalti commented 8 years ago

Fixes #17

I have created plugs for selecting buffers with ordinal numbers as described in https://github.com/ap/vim-buftabline/pull/11. Feel free to change plug names if you don't like BufTabLineSelectBufferX.

I put following into my config to use it:

nmap <leader>1 <Plug>BufTabLineSelectBuffer1
nmap <leader>2 <Plug>BufTabLineSelectBuffer2
nmap <leader>3 <Plug>BufTabLineSelectBuffer3
nmap <leader>4 <Plug>BufTabLineSelectBuffer4
nmap <leader>5 <Plug>BufTabLineSelectBuffer5
nmap <leader>6 <Plug>BufTabLineSelectBuffer6
nmap <leader>7 <Plug>BufTabLineSelectBuffer7
nmap <leader>8 <Plug>BufTabLineSelectBuffer8
nmap <leader>9 <Plug>BufTabLineSelectBuffer9
jgallen23 commented 8 years ago

just moved over from airline and this is something I used all the time. would be great to get this merged.

ap commented 8 years ago

Now pushed as a3e32bd322b909f20f87a2c7ddabf6416dc21cec. Thank you for the patch.