dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | README | LICENSE

commit 753262d9054342d7c72412959ab9dc026b766c02 (patch)
parent 1a368194c6979a7a17371e13b5182b0017cf8766
Author: Alex Karle <alex@alexkarle.com>
Date:   Fri, 25 Feb 2022 23:18:48 -0500

tmux: Don't clear selection on activating plumb(1)

Combined with the previous hotkeys, this makes it easy to keep
my place in a list of things to sort through. For example, say
I want to sift through 100 hits of `git grep -n`. I don't want
to have to spam `n` every time I plumb! Keeping that split open
and the selection in place essentially means I can replace
vim-fugitive's :Ggrep with this :O

Not that I'm definitely gonna do that--fugitive is awesome. I just
could.

Diffstat:
M.tmux.conf | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.tmux.conf b/.tmux.conf @@ -11,7 +11,7 @@ unbind-key C-b bind-key C-a send-prefix # plumber! `a` in copy-mode sends to the 'plumb' command -bind-key -T copy-mode-vi a send-keys -X copy-pipe-and-cancel "plumb #{pane_current_path}" +bind-key -T copy-mode-vi a send-keys -X copy-pipe-no-clear "plumb #{pane_current_path}" # Less delay on pressing escape (for vim) set-option -sg escape-time 10