Unbind unused defaults in tmux

This commit is contained in:
2014-06-23 02:21:14 +03:00
parent 6a08b81857
commit bb21225f08
+20 -3
View File
@@ -56,9 +56,28 @@ set -g window-status-current-format "#[fg=white,bg=colour25,noreverse,bold] #I #
# --------------------
setw -g mode-keys vi
bind C-a send-prefix
# Unbind unused defaults
unbind %
unbind [
unbind p
unbind Up
unbind Down
unbind Left
unbind Right
unbind M-Up
unbind M-Down
unbind M-Left
unbind M-Right
unbind C-Up
unbind C-Down
unbind C-Left
unbind C-Right
# Source this file
bind r source-file ~/.tmux.conf \; display "Config file reloaded!"
@@ -83,9 +102,7 @@ bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
# Copy & Paste
unbind [
bind Escape copy-mode
unbind p
bind p paste-buffer
bind -t vi-copy 'v' begin-selection
bind -t vi-copy 'y' copy-selection