mirror of
https://github.com/GeorgeSG/dotfiles.git
synced 2026-09-05 08:58:44 +00:00
Unbind unused defaults in tmux
This commit is contained in:
+20
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user