There is no format for it at the moment, but I don't mind having one,
a bit like copy_cursor_word/line.

On Tue, 18 Feb 2020 at 03:18, M Kelly <[email protected]> wrote:
>
> Hi,
>
> Is there a simple way to get the selected text in copy-mode-vi to use in a 
> search-forward cmd ?
> Something like: #{copy-selection}, as in -
>
> bind -T copy-mode-vi '*' if -F "#{selection_present}" 'send -X stop-selection 
> \; send -FX search-forward "#{copy-selection}"' 'send -FX search-forward  
> "#{copy_cursor_word}"'
>
> thx,
> -m
>
> --
> You received this message because you are subscribed to the Google Groups 
> "tmux-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web, visit 
> https://groups.google.com/d/msgid/tmux-users/CAD5ox-F5S8N6XtOjB9vYZd25AAhXYv9LX4nn6gNxdW-NwZ5jzw%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tmux-users/CAEdLfcHqZb9Er9XjW%3D51n%3DJvR5HuHMnK%2ByU39Wd3jBG4C%3Dztog%40mail.gmail.com.

Reply via email to