summaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-01-26 13:50:50 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-01-26 13:50:50 +0530
commitcc5a352e65e533cc84358a546c9ee6f1d5a47908 (patch)
treecbaf606101c699d7eb33bd4160ad45547acddb60 /.tmux.conf
parent7706ff72deb46b672b774f1f5f483f30253fb2c9 (diff)
updates
Diffstat (limited to '')
-rw-r--r--.tmux.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/.tmux.conf b/.tmux.conf
index a3994aa..5a92a90 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -18,6 +18,7 @@ set -g @plugin 'tmux-plugins/tmux-yank'
unbind C-b
unbind '"'
unbind %
+unbind c
set-option -g prefix C-x
bind-key C-x send-prefix
@@ -27,16 +28,17 @@ bind -n M-l next-window
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi v send-keys -X begin-selection
+bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
bind-key r command-prompt -I "#W" "rename-window '%%'"
-bind-key b attach-session -c "#{pane_current_path}"
bind-key x kill-pane
+bind-key c new-window -c "#{pane_current_path}"
unbind f
-bind f split-pane "tmux-sessionizer"
+bind f split-pane "bash ~/.sessionizer.sh"
bg="#698DDA"