aboutsummaryrefslogtreecommitdiff
path: root/tmux/tmux.conf
diff options
context:
space:
mode:
authorpml68 <tutorialmester@gmail.com>2024-05-30 00:38:24 +0200
committerpml68 <tutorialmester@gmail.com>2024-05-30 00:38:24 +0200
commit0df84c207658b65c121dd27fe297810d908a45a9 (patch)
tree8e0cbcd5e9832e411a75d912713e298b2fed4568 /tmux/tmux.conf
parentfeat: remove unnecessary whitespace (diff)
downloadsuckless-setup-0df84c207658b65c121dd27fe297810d908a45a9.tar.gz
feat: add tmux config
Diffstat (limited to '')
-rw-r--r--tmux/tmux.conf66
1 files changed, 66 insertions, 0 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
new file mode 100644
index 0000000..b8ce65d
--- /dev/null
+++ b/tmux/tmux.conf
@@ -0,0 +1,66 @@
+set -g default-terminal "st-256color"
+
+set -g prefix C-a
+unbind C-b
+bind-key C-a send-prefix
+
+unbind %
+bind v split-window -h
+unbind '"'
+bind - split-window -v
+
+unbind r
+bind r source-file ~/.config/tmux/tmux.conf
+
+bind -r j resize-pane -D 5
+bind -r k resize-pane -U 5
+bind -r l resize-pane -R 5
+bind -r h resize-pane -L 5
+bind -r m resize-pane -Z
+bind C-p previous-window
+bind C-n next-window
+
+set -g mouse on
+
+set -g history-limit 30000
+
+set-window-option -g mode-keys vi
+bind P paste-buffer
+bind-key -T copy-mode-vi 'v' send-keys -X begin-selection
+bind-key -T copy-mode-vi 'y' send-keys -X copy-selection
+bind-key -T copy-mode-vi 'y' send-keys -X copy-pipe-and-cancel 'xclip -sel clip -i'
+
+unbind -T copy-mode-vi MouseDragEnd1Pane
+
+bind-key -n 'F4' copy-mode
+
+set -g @plugin 'tmux-plugins/tpm'
+set -g @plugin 'christoomey/vim-tmux-navigator'
+set -g @plugin 'rose-pine/tmux'
+set -g @plugin 'tmux-plugins/tmux-resurrect'
+set -g @plugin 'tmux-plugins/tmux-continuum'
+
+set -g @rose_pine_variant 'main'
+
+set -g @rose_pine_host 'on'
+set -g @rose_pine_date_time ''
+set -g @rose_pine_user 'on'
+set -g @rose_pine_directory 'on'
+set -g @rose_pine_bar_bg_disable 'on'
+
+set -g @rose_pine_bar_bg_disabled_color_option 'default'
+
+# set -g @rose_pine_only_windows 'on'
+# set -g @rose_pine_disable_active_window_menu 'on'
+
+set -g @rose_pine_default_window_behavior 'on'
+set -g @rose_pine_show_current_program 'on'
+
+set -g @rose_pine_prioritize_windows 'on'
+set -g @rose_pine_width_to_hide '80'
+set -g @rose_pine_window_count '5'
+
+set -g @resurrect-capture-pane-contents 'on'
+set -g @continue-restore 'on'
+
+run '~/.tmux/plugins/tpm/tpm'