My tmux config file
30 octobre 2013 | Catégories: linux | View CommentsI am often using tmux in the terminal for its habilities to vertically and horizontally split the terminal window sequentially. Below are the configurations that I used given to me by Alexandre Blondin-Massé during a SageFridays at LaCIM in March 2011.
# This File is : ~/.tmux.conf # use "|" and "-" to do vertical/horizontal splits # (press CTRL B and then - or |, CTRL D to close it) unbind % bind | split-window -h bind - split-window -v # use the vim motion keys to move between panes # (press CTRL B and then h,j,k,l for the move) bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R # use vim motion keys while in copy mode # To copy, press CTRL B and then [, move, space, move, enter. # To paste, press CTRL B and then ] setw -g mode-keys vi
I am not using all the capacities I should of tmux. Maybe one day I will try to use this sessions and windows workflow.