3 ms·
I chose using vim + tmux instead of using the vim-specific tiling. The main benefit for me is that all tiles are using same mechanism, as opposed to tmux for sh
by djohnston 7y ago
I chose using vim + tmux instead of using the vim-specific tiling. The main benefit for me is that all tiles are using same mechanism, as opposed to tmux for shells and vim for code
- jacoblambda 7y agoyou can also use vim's built in terminal multiplexer if you have vim 8 or newer. The benefit with using the vim variant is that you can apply most of the vim features to terminal use. i.e. you can use vim to sift through terminal output, you can make vim macros that leverage the terminal as well, and you can yank and paste using vim registers. Still not as polished as tmux in some ways but I've found it to be a very nice improvement over tmux with vim. Mind you when doing this I still use vim inside tmux so that I can detach and so that I get a bit more consistent terminal output between devices.
- djohnston 7y agomultiplexers in multiplexers? woah.gif :p
- F147H34D 7y agoctrl-z will suspend vim. then just type fg from command prompt to get it back.
- jacoblambda 7y agoThis doesn't work over ssh unfortunately. The tmux method works locally and remotely. Vim has server mode which is similar but significantly less ergonomic than just using tmux and requires vim to be compiled with non default flags.