summaryrefslogtreecommitdiff
path: root/home/common/modules/tmux.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/common/modules/tmux.nix')
-rw-r--r--home/common/modules/tmux.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/home/common/modules/tmux.nix b/home/common/modules/tmux.nix
index db7b5d5..9febca8 100644
--- a/home/common/modules/tmux.nix
+++ b/home/common/modules/tmux.nix
@@ -19,6 +19,9 @@
setw -g pane-base-index 1
set -g history-limit 10000
+ # kill the current pane
+ bind -n C-x kill-pane
+
# vim
set -g mode-keys vi
bind -T copy-mode-vi v send -X begin-selection