all repos — dotfiles @ 461507f042a0a5e79da53655c99c0e60422796a7

linux dotfiles

tmux: add save-history keybind
Prithu Goswami pg@prithu.dev
Sun, 28 Aug 2022 20:45:44 +0530
commit

461507f042a0a5e79da53655c99c0e60422796a7

parent

fa50e27641ae7a918d8fa4b0c11c8514b751d950

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M tmux/tmux.conftmux/tmux.conf

@@ -25,6 +25,8 @@ bind C-o rotate-window

setw -g mouse on +bind-key P command-prompt -p 'save history to filename:' -I '~/.cache/tmux.history' 'capture-pane -S - ; save-buffer %1 ; delete-buffer' + bind '"' split-window -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}"