From 845e849fabe70a58d7e1027cf1317dd783e44294 Mon Sep 17 00:00:00 2001 From: pml68 Date: Fri, 5 Jul 2024 12:13:26 +0200 Subject: feat: remove tmux-resurrect and continuum, add keybinds --- tmux/tmux.conf | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'tmux/tmux.conf') diff --git a/tmux/tmux.conf b/tmux/tmux.conf index dbcf305..ee933d7 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -1,6 +1,10 @@ set -g prefix C-a unbind C-b +bind -r n switch-client -n +bind -r p switch-client -p +bind Q confirm-before -p "Kill session #S? (y/n)" kill-session + unbind % bind v split-window -h -c "#{pane_current_path}" unbind '"' @@ -27,12 +31,13 @@ unbind -T copy-mode-vi MouseDragEnd1Pane bind-key -n 'F4' copy-mode +bind-key -r i run-shell "tmux neww /usr/local/bin/cht.sh" +bind-key -r D run-shell "tmux neww /usr/local/bin/tmus" + set -gq allow-passthrough on set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' -set -g @plugin 'tmux-plugins/tmux-resurrect' -set -g @plugin 'tmux-plugins/tmux-continuum' set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'rose-pine/tmux' @@ -49,7 +54,4 @@ set -g @rose_pine_bar_bg_disabled_color_option 'default' set -g @rose_pine_width_to_hide '80' set -g @rose_pine_window_count '5' -set -g @resurrect-capture-pane-contents 'on' -set -g @continuum-restore 'on' - run '~/.tmux/plugins/tpm/tpm' -- cgit v1.2.3