How to open same file in same tab for commandline vim?

I think what you want is set switchbuf=usetab in your . Vimrc .

Up vote 0 down vote favorite share g+ share fb share tw.

I know another session said use :drop can do it but I only use command line vim. Is there a plugin can do it? Thanks vim link|improve this question asked Feb 22 '11 at 1:13atu0830436 40% accept rate.

I think what you want is set switchbuf=usetab in your .vimrc. With this set you can then do :sb to switch to the tab or window that has that buffer open. In this example: :sb A.

See :help 'switchbuf' for more information.

Yes, have combine with newtab( set switchbuf=usetab,newtab), also reference vim.wikia.com/wiki/Using_tab_pages – atu0830 Feb 23 '11 at 4:20.

No, I mean I already open two file (A and B) in two tabs. If I input :tabe A, will create a new tab with file A, no in the old tab with file A. So that I want to find a command to always open file A in the old tab, do NOT create a new tab – atu0830 Feb 22 '11 at 7:10.

I am not sure I understand you question correctly but: e -> reloads the active file. E myfile. Txt-> opens another file in the active tab.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions