3 ms·
If you are unsatisfied with tmux and familiar with vi, something worth considering is using abduco and the built-in terminal emulator of vim. It will you give w
by rnhmjoj 6y ago
If you are unsatisfied with tmux and familiar with vi, something worth considering is using abduco and the built-in terminal emulator of vim. It will you give windows, tabs and mouse integration for free,
it's just missing a couple of bindings to spawn terminals like:
map <silent><C-w>- :split +term<CR>
map <silent><C-w>\| :vsplit +term<CR>
map <silent><C-w>t :tabnew +term<CR>
and the rest you already know.
- rav 6y agoThanks for the pointer to :split +term - I just dug through all of :help terminal. Apparently this is a feature from Vim 8.1 that I had completely missed!
- johncoltrane 6y agoYour mappings are for Neovim, not Vim, where :term already splits the window. Here they are, fixed for Vim: nnoremap <silent> <C-w>- :terminal<CR> nnoremap <silent> <C-w>\| :vertical terminal<CR> nnoremap <silent> <C-w>t :tab terminal<CR>