Dvtm: A dynamic tiling window manager for the terminal
github.com
github.com
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.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>If I split the screen anymore it becomes both too fiddly and the panes become too small on my 13" screen. Does anyone use three or more split windows? If so, what's in them?
Usually it's more like 4-8 (4 columns, with columns spot one up one down) depends on what I'm working on at the time but usually at the lower wned of that range.
I'm a DevOps type so it's usually Terraform which could be a mix of working on a module and "main" TF codebase.
One nice thing about my setup is that it gives me 4 side by side 80char wide terminals/vim instances.
Then of course I have 2 other screens for browser/Comms. I just can't work on a single tiny laptop screen don't know how people cope!
I'm the opposite, I work exclusively on a laptop without external screen and I never understand people with many windows/panes :)
I try to limit distractions and I can't stand spending time finding the right window to focus. I have a fullscreen IDE (sometimes split vertically), a fullscreen browser, a fullscreen terminal (iTerm) split in 3 panes, and hotkeys to switch instantly from one to the other. I have other hotkeys to focus other programs (Slack, Datagrip)
I don't need to see everything at the same time, that's distracting and I'd rather whatever I'm working on to be fullscreen, I just need everything to be instantly focussable!
I have a 27" iMac Pro and I almost never use any splitting -- except for my editor where having 2 panes side by side is very useful and I still get 95 characters per line on each pane.
...Lately however I felt like I need a bit more space so I ordered toughened display stands (both the iMac Pro and my gaming 35" display are 10kg or more) so I can likely move all my web browsing and Slack itself there, side by side, on that second gaming screen. Still not sure how will that turn out though, I might not need it.
I was right. Haven't reached for tmux even once since I made the switch. And this is coming from someone who spends probably over 70% of his workday in the terminal using tmux. Having the various shortcuts to move between screens work also work for moving between firefox, zoom, etc is incredible. I'm never going back.