Re:Workflow in tmux
by swah on Friday April 12, 2013 @06:42PM
(#5541531)
OT: Tmux/Screen are a little bit RSI inducing to me, to be used effectively. Any tips?
[ Parent
| on HN ]
For tmux, I assign the bind-key to backtick (`) and last-window to TAB. Then do most of my work in window #1. On a US keyboard, I find it pretty easy to move between windows with `1, `2, `TAB, etc.
Remap caps lock to be a ctrl key, then preferably remap your prefix key to a. Caps+a is way easier to type.
Ctrl+L is good because it's on the home row and typically used for uninteresting stuff anyway (like refreshing the terminal window).
My sequence to actually refresh the window is "Ctrl+L L"
Re:Workflow in tmux
by barkmadley on Friday April 12, 2013 @11:49PM
(#5542467)
I would find Caps+a very difficult to type (since it uses the two weakest fingers). Have you ever tried Caps+d or Caps+f?
I do ctrl+o because I hated having to hit ctr+a two times to go to the beginning of the line in console apps.
This is also what I do.
Use the Alt key to navigate around: https://github.com/nviennot/tmux-config
It may just take a bit of work to make sure that the important tmux keybindings don't clash with those of the applications you will be running.
Remap your keys. Capslock makes for a very nice control key, cause really, that's the single most used modifier/power key that gets used aside from maybe shift. You can also remap the "lead-in" character.
I use ^j on both screen and tmux (tmux isn't on our prod servers). This frees up ^a in screen so ^a can send me to the beginning of a line, which is quite nice as I write a lot of long commands and it works in several different programs. It's just a really easy combo to hit that avoids chording or stretching your hands to do something like that constantly. My right hand does not hit the 'b' key for squat.
Honestly, a lot of stuff is configurable so that with some thought and planning (and knowledge and research) you can relieve a lot of weird movements with your hands.
I somewhat agree, and the suggestions from others are good, but something that also is a big help with RSI: take more breaks. I have a script set up to remind me to take a break every hour, and it dims my monitor for 10 minutes each time. That has made the largest difference for me.
Re:Workflow in tmux
by tjdetwiler on Friday April 12, 2013 @06:50PM
(#5541566)
RSI?
Re:Workflow in tmux
by tjdetwiler on Wednesday April 17, 2013 @11:58AM
(#5565161)
Residential Services, Inc?