Hacker News new | ask | show | jobs
by andyhmltn 4500 days ago
Awesome little program. It's saved so much time so far. For anyone that wants to get up and running:

https://github.com/andyhmltn/dotfiles

That contains two tmux config files that add a few things like CTRL+B thenSHIFT+P for a nice layout and a shortcut for switching between panes with ALT+Arrow keys

2 comments

I personally use:

bind-key -n M-1 select-window -t 1

bind-key -n M-2 select-window -t 2

bind-key -n M-3 select-window -t 3

(...) For an IMHO even more convinient ALT+Number to switch directly to the tab in question, just like in firefox.

That's very similar to CTRL+B then Q then Number. But I have about 5+ panes so I found using the arrow keys a lot easier
i use ctrl-up / ctrl-down

    bind-key -n C-up next
    bind-key -n C-down prev
ctrl-left and alt-left/right interfere with too many other cli apps.

https://github.com/fishman/dot_files/blob/master/tmux/.tmux....

Thank you! I did not know about the source-file command. I've been writing shell scripts, instead. You have just changed my entire work-flow!