Created
September 11, 2018 09:22
-
-
Save wicochandra/baa73f3d5f3d7e5d4a687ed878f96046 to your computer and use it in GitHub Desktop.
Personal development settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#C-a as prefix and free C-b | |
set -g prefix C-a | |
unbind C-b | |
# Send C-a to application by pressing it twice | |
bind C-a send-prefix | |
# Reload configuration file | |
unbind r | |
bind r source-file ~/.tmux.conf \; display "Configration file .tmux reloaded!" | |
# Redefine splitting shortcuts | |
#bind | split-window -h \; display "Splitting Vertical" | |
#bind - split-window -v \; display "Splitting Horizontal" | |
# Enable mouse mode and pane selection | |
set -g mouse on | |
# Toggle mouse on | |
bind m \ | |
set -g mouse on \;\ | |
display 'Mouse: ON' | |
# Toggle mouse off | |
bind M \ | |
set -g mouse off \;\ | |
display 'Mouse: OFF' | |
# Titles (window number, program name, active (or not) | |
set-option -g set-titles on | |
set-option -g set-titles-string '#H:#S.#I.#P #W #T' | |
# Pane Selection | |
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 | |
# Sync tmux panes (replicates input from one pane to the others) | |
bind p setw synchronize-panes | |
#bind -n End send-key C-e | |
#bind -n Home send-key C-a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment