From 3d340c689b39427f1b29b642baa108d7f5fc39ac Mon Sep 17 00:00:00 2001 From: Polesznyák Márk Date: Sat, 29 Nov 2025 00:21:56 +0100 Subject: feat: initial commit --- .tmux.conf | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .tmux.conf (limited to '.tmux.conf') diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..f172bd2 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,63 @@ +set -g default-terminal "tmux-256color" +set -ga terminal-features "*:hyperlinks" +set -g prefix C-a +unbind C-b + +bind -r n next-window +bind -r p previous-window +bind -r C-n switch-client -n +bind -r C-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 '"' +bind - split-window -v -c "#{pane_current_path}" + +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 + +set -g mouse on +set-option -g focus-events on + +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 C-v send-keys -X rectangle-toggle +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 -r C-c copy-mode + +bind-key -r i run-shell "tmux neww /usr/local/bin/cht.sh" +bind-key -n C-f run-shell "tmux neww /usr/local/bin/tmus" +bind-key -n C-t run-shell "tmux neww /usr/local/bin/check_todo.sh" + +set -gq allow-passthrough on + +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'christoomey/vim-tmux-navigator' +set -g @plugin 'rose-pine/tmux' + +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_width_to_hide '80' +set -g @rose_pine_window_count '5' + +run '~/.tmux/plugins/tpm/tpm' -- cgit v1.2.3