I want select some string in visual mode (v
) and send it to any external program (e.g. tmux send-keys
)
I tried use xargs:
- switch to
v
(visual mode) - select some words
- press
:
getting:'<,'>
- Write
:'<,'>w ! xargs -I {} tmux send-keys -t:0 {}
. Getting whole line passed totmux
xargs
works as expected.
But entire line is always passing instead of my selection.