-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7e6e146
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
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" |