Skip to content

Commit 3911888

Browse files
basics: Toggleterm uses direction=tab to open in tab page
AstroNvim key binding to open Toggleterm in a tab page no longer exists (or has been overridden by Toggleterm btm) Add how to open Toggleterm in a new tab page Resolve #3
1 parent df27237 commit 3911888

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

docs/neovim-basics/terminal.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22

33
[akinsho/toggleterm.nvim](https://github.com/akinsho/toggleterm.nvim) plugin provides a terminal session within Neovim, using a float, split or tab.
44

5-
=== "AstroNvim"
65

7-
`SPC t` for the Terminal sub-menu
6+
++spc++ ++"t"++ for the Terminal sub-menu
87

9-
`SPC t f` opens a terminal in a floating window, useful for one-off commands
8+
++spc++ ++"t"++ ++"f"++ opens a terminal in a floating window, useful for one-off commands or short sessions
109

11-
`SPC t h` opens a terminal in a horizontal split, useful for a process that prints valuable feedback, e.g. a test runner in watch mode
10+
++spc++ ++"t"++ ++"f"++ opens a terminal in a horizontal split, useful for a process that prints valuable feedback, e.g. a test runner in watch mode
1211

13-
`SPC t t` opens a terminal in a tab, useful for background processes that do not need attendtion
14-
15-
![Toggleterm.nvim float](https://github.com/practicalli/graphic-design/blob/live/editors/neovim/screenshots/neovim-terminal-float-directory-listing-light.png?raw=true#only-light){loading=lazy}
16-
![Toggleterm.nvim float](https://github.com/practicalli/graphic-design/blob/live/editors/neovim/screenshots/neovim-terminal-float-directory-listing-dark.png?raw=true#only-dark){loading=lazy}
12+
`:Toggleterm direction=tab` opens a terminal in a tab page, useful for long running processes
13+
14+
<!-- TODO: Add key binding for Terminal in a tab to lua/plugins/user-practicalli.lua -->
15+
16+
![Toggleterm.nvim float](https://github.com/practicalli/graphic-design/blob/live/editors/neovim/screenshots/neovim-terminal-float-directory-listing-light.png?raw=true#only-light){loading=lazy}
17+
![Toggleterm.nvim float](https://github.com/practicalli/graphic-design/blob/live/editors/neovim/screenshots/neovim-terminal-float-directory-listing-dark.png?raw=true#only-dark){loading=lazy}

0 commit comments

Comments
 (0)