summaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to '.tmux.conf')
-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"