Skip to content

Commit

Permalink
Add extra key bindings for next/previous-window to avoid releasing co…
Browse files Browse the repository at this point in the history
…ntrol
  • Loading branch information
konker committed Oct 10, 2016
1 parent 13b3b53 commit 3f7b4ae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ set-option -g set-titles-string "$TIT"
set -g allow-rename on
setw -g automatic-rename off

#bind R source-file ~/.tmux.conf ; display 'RELOADED!'
bind R source-file ~/.tmux.conf ; display 'RELOADED!'

# vi keys
setw -g mode-keys vi
Expand All @@ -45,7 +45,11 @@ bind-key -r K swap-pane -U
bind-key C-c new-window -n "$TIT"
bind-key c new-window -n "$TIT"

bind-key n next-window
bind-key C-n next-window

bind-key p previous-window
bind-key C-p previous-window

# use better mnemonics for horizontal/vertical splits
bind-key - split-window -v
Expand Down

0 comments on commit 3f7b4ae

Please sign in to comment.