From 4bc0383c5745d5fbd7e83d7ae68f765a9b2024e3 Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Wed, 11 Sep 2024 03:38:31 +0900 Subject: Minor QOF improvements to tmux and WM --- config/tmux/tmux.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/tmux/tmux.conf') diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index b171190..e5a3e66 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -45,6 +45,9 @@ bind-key -T copy-mode-vi 'y' send -X copy-selection #bind - split-window -v #unbind '"' #unbind % +# Thanks: https://unix.stackexchange.com/a/109255/347754 +bind % split-window -h -c "#{pane_current_path}" +bind '"' split-window -v -c "#{pane_current_path}" # moving between panes with vim movement keys bind h select-pane -L -- cgit v1.2.3