9
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 21 Jun 2023
9 points (100.0% liked)
Neovim
2840 readers
17 users here now
founded 2 years ago
MODERATORS
Side-by-side how? the way I imagine this is starting with a single window with a regular buffer, then opening two toggleterm terminals in splits to end up like this:
If that's what you mean, all you need is to pass unique terminal ids as you call
ToggleTerm.:ToggleTerm 1<CR>:ToggleTerm 2<CR>You could then map that to whatever keys you want, like
<c-1>and<c-2>:I have a similar setup: https://github.com/davidmh/dot-files/blob/3b0e79919f231db1f3628f6fde06e9f78f347b87/nvim/fnl/own/plugin/toggle-term.fnl
ctrl+1-5for dedicated split termsalt+1-5for dedicated tab termsctrl+tas a wildcard split term, that's my go toalt+tto attach or start a tmux session in a tab🤦♂️
Thank you