aboutsummaryrefslogtreecommitdiff
path: root/tmux/tmux.conf
diff options
context:
space:
mode:
authorpml68 <tutorialmester@gmail.com>2024-07-05 12:13:26 +0200
committerpml68 <tutorialmester@gmail.com>2024-07-05 12:13:26 +0200
commit845e849fabe70a58d7e1027cf1317dd783e44294 (patch)
tree7791d75bd03356f4183875c3c41125d57fb33f31 /tmux/tmux.conf
parentfeat(tmux): make newly created panes open in current working dir (diff)
downloadsuckless-setup-845e849fabe70a58d7e1027cf1317dd783e44294.tar.gz
feat: remove tmux-resurrect and continuum, add keybinds
Diffstat (limited to 'tmux/tmux.conf')
-rw-r--r--tmux/tmux.conf12
1 files changed, 7 insertions, 5 deletions
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'