From bb21225f085b69cfc4a4e48cb09ce1e48445121c Mon Sep 17 00:00:00 2001 From: GeorgeSG Date: Mon, 23 Jun 2014 02:21:14 +0300 Subject: [PATCH] Unbind unused defaults in tmux --- .tmux.conf | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index 2948340..c132b2d 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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