Skip to content

Commit

Permalink
add .tmux.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
jony-lee committed May 29, 2020
0 parents commit 7e6e146
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .tmux.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Send prefix
#set-option -g prefix C-a
#unbind-key C-a
#bind-key C-a send-prefix

# Use Alt-arrow keys to switch panes
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D

# Shift arrow to switch windows
bind -n S-Left previous-window
bind -n S-Right next-window

# Mouse mode
set -g mouse on
#set mouse-resize-pane on
#set mouse-select-pane on
#set mouse-select-window on

# Set easier window split keys
bind-key \ split-window -h
bind-key - split-window -v

# Easy config reload
bind-key r source-file ~/.tmux.conf \; display-message "tmux.conf reloaded"

0 comments on commit 7e6e146

Please sign in to comment.