Goto Tab if file is already open, otherwise open a new tab #1598
-
|
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
As you are new to vim: do you mean a vim tab or a vim window? I am going to assume window. You can open in a new window split vertcally via On edit (open) via See Beginners Guide to Tabs in Vim if you are interested in vim tabs. Use |
Beta Was this translation helpful? Give feedback.
As you are new to vim: do you mean a vim tab or a vim window? I am going to assume window.
You can open in a new window split vertcally via
<C-v>and horizontally via<C-x>.On edit (open) via
<CR>oroor<2-LeftMouse>nvim-tree will navigate to the window if it is open.See Beginners Guide to Tabs in Vim if you are interested in vim tabs.
Use
<C-t>to open in a new vim tab. The tab switching behaviour can be customised via options such as:help nvim-tree.open_on_tab.