From 8154ea15eccaa9a5d466548e3c073b976d5c0208 Mon Sep 17 00:00:00 2001 From: Skladnayazebra Date: Mon, 13 Oct 2025 15:23:49 +0200 Subject: add tmux config --- .gitignore | 1 + tmux/tmux.conf | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 tmux/tmux.conf diff --git a/.gitignore b/.gitignore index fa6ebfb..a892858 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /* !nvim !zsh +!tmux !.gitignore diff --git a/tmux/tmux.conf b/tmux/tmux.conf new file mode 100644 index 0000000..f4b9ebc --- /dev/null +++ b/tmux/tmux.conf @@ -0,0 +1,18 @@ +unbind r +bind r source-file ~/.tmux.conf + +set -g mouse on + +# allows to use vim bindings in scroll mode - key [ +set-window-option -g mode-keys vi + +# switch between panes using vim binds + +unbind C-S-h +unbind C-S-l + +bind-key -n C-S-h select-pane -L +bind-key -n C-S-j select-pane -D +bind-key -n C-S-k select-pane -U +bind-key -n C-S-l select-pane -R + -- cgit v1.3.1