Hacker News new | ask | show | jobs
by rhinoceraptor 1349 days ago
I use the mouse all the time in tmux and nvim, especially for resizing splits, scrolling terminal output, selecting text from tmux, and navigating my nvim file browser. tmux actually has a right click menu that is nice to use occasionally.
4 comments

I got stuck on a job in Dubai (Government client - they also had us work in trailers on-site - no remote access allowed) with a Remote Desktop jump host where the mouse didn't have any pass-through to my terminal session - which mean I had to work for 8 hours a day without any ability to select/copy/paste with a mouse. I had tmux-installed on the remote hosts and for the next three months, select/cut/copy/paste/resize panes/etc... were done without a mouse. Seven years later, I've never once used a mouse with tmux since then. https://github.com/schasse/tmux-jump is the equivalent plugin that lets you jump anywhere you want on the screen.
Funny, I use tmux all day long because it allows me to navigate out of vim without a mouse. So far I can handle most of my pane resizing needs with prefix + space bar. Otherwise I'll just launch a new window. Maybe I'm just allergic to the mouse.
I tend to have two modes, if I'm actively writing code I rarely use the mouse, but if I'm reading code, I'm mostly using the mouse.
Agreed on resizing. It's not worth it for me to remember those shortcuts when a mouse works faster.
It's really rewarding to set up tmux copy mode in a way that works for you imho.