X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=tmux%2F.tmux.conf;h=db063c9658656f5ae4b0294eee1acdd46c528513;hb=327ed850256befcca102eb1a1cf1d28675a733cc;hp=d25d9c7b510285aa63b0fa2bf79ba49f83f1194e;hpb=62bccf2a97581ed475dd46068621d0dffa21d5c9;p=dotfiles.git diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index d25d9c7..db063c9 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -60,7 +60,15 @@ bind-key o { capture-pane -J save-buffer /tmp/tmux-buffer delete-buffer - display-popup -KE -w 100% -R "~/bin/tmux-path-extractor.sh" + display-popup -KE -w 100% -R "~/bin/tmux-path-extractor.sh '#{pane_current_path}'" + paste-buffer + delete-buffer +} + +bind-key O { + display-popup -KE -w 100% -R "~/bin/tmux-git-extractor.sh '#{pane_current_path}'" + paste-buffer + delete-buffer } bind-key Y {