Vim: move to buffer?

Is there a function in Vim that will move to the buffer? For example, if I know that I have "TODO.txt" open in a window on some tab, I would like to go to this tab and focus this window. Is it possible?

+5
source share
3 answers

set swb=useopen,usetabe install make :sb [number] or :sb [pattern] in the open window on the tab.

+7
source

I believe :drop filename

+3
source

I use

  :buf TODO 

you need the unique identification part of the buffer file name. You can use tab-completion though :)

Oh IC, just noted that you want to activate the corresponding tab. Sry

0
source

Source: https://habr.com/ru/post/892431/


All Articles