Better navigation in tmux
Default tmux configuration uses C-b key to interact with panes, windows, which is a bit inefficient. But it is just a default. There is a configuration file for changing them.
open ~.tmux.conf and add below content
bind -n S-down new-window
bind -n S-left prev
bind -n S-right next
bind -n C-left select-pane -L
bind -n C-down select-pane -D
bind -n C-up select-pane -U
bind -n C-right select-pane -R
Shift+down key to create a new window
Shift+left key to select previous window and so on.
Since I use panes and windows in Tmux more, these keybindings saved me a lot of key-stroke.
You can find plenty of good resources, configuration set on Github and Gist.Github.
Written by M. Oguz
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#