J
J
JZorkiy2019-10-20 11:14:44
vim
JZorkiy, 2019-10-20 11:14:44

How to open a list of buffers in a separate buffer and move the cursor over them + jump to the buffer under the cursor?

The :ls command lists the buffers but does not let you navigate between them. In order to switch to one of the buffers, you need to enter :b[buffer number] or other options.
The question is to open the list of buffers as Nertw opens and navigate through this list.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
nekipelov, 2019-10-21
@JZorkiy

https://github.com/jeetsukumaran/vim-buffergator
Fits the description, handy plugin.

P
planc, 2019-10-20
@planc

https://github.com/vim-airline/vim-airline
set, it will show buffers from above as tabs
in .vimrc

let g:airline#extensions#tabline#enabled = 1
" Buffer Navigation
noremap <silent> <C-h> :bprev<CR>
noremap <silent> <C-l> :bnext<CR>

ctrl + h, ctrl + l - back, forward

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question