From a7f7805f6ce5c84802e2cf90e4e31919558d4a46 Mon Sep 17 00:00:00 2001 From: Naz Date: Sat, 6 Sep 2025 12:16:02 +0100 Subject: =?UTF-8?q?=E2=9C=A8feat:=20add=20tmux=20configuration=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tmux/.config/tmux/tmux.conf | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 tmux/.config/tmux/tmux.conf (limited to 'tmux/.config') diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf new file mode 100644 index 0000000..fc74218 --- /dev/null +++ b/tmux/.config/tmux/tmux.conf @@ -0,0 +1,45 @@ +set -g mouse on + +set -g base-index 1 +set -g pane-base-index 1 +set-window-option -g pane-base-index 1 +set-option -g renumber-windows on + +unbind '%' +unbind '"' + +bind s split-window -v -c "#{pane_current_path}" +bind v split-window -h -c "#{pane_current_path}" + +set-option -as terminal-overrides ",xterm*:RGB" + +set -g status-position top + +unbind C-b +set -g prefix C-Space + +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 -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard' + +bind S choose-session + +set-window-option -g mode-keys vi + +bind l next-window +bind h previous-window + +bind -n M-k resize-pane -U 1 +bind -n M-j resize-pane -D 1 +bind -n M-h resize-pane -L 2 +bind -n M-l resize-pane -R 2 + +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'christoomey/vim-tmux-navigator' +set -g @plugin 'tmux-plugins/tmux-yank' +set -g @plugin 'ndpm13/tmux-gruvbox-truecolor' + +# Initialize TMUX plugin manager. +run '~/.tmux/plugins/tpm/tpm' -- cgit v1.2.3