4
例えば、私は視覚的な選択でシェルコマンドを実行しようとしているが、私は選択した行選択にそれを実行していないためにどのよう を把握することはできません。実行シェルコマンド
Selection start here
v
hello
world
^Ends here
は、次のコマンドを実行すると、私はmy_command
にlo\nwor
を送ることができますどのようにhello\nworld
my_command
から
:'<,'>!my_command
を送信します。
'< `< To the first line or character of the last selected
Visual area in the current buffer. For block mode it
may also be the last character in the first line (to
be able to define the block). {not in Vi}.
こちらのほうがよいでしょうか? http://vi.stackexchange.com/ –