> tab or space
>
> norm vF y
>
> My aim is to visual select a word and then copy it.
A couple items: first, you may want to read up on text
objects...there are "inner word" and "inner WORD" text objects
that may simplify your selection:
norm yiw
without needing to move around the end-point anchors of a visual
selection.
Additionally, for scripting purposes, you may be interested in
expand('<cword>')
For more info, you can read at
:help iw
:help text-object
:help expand()
-tim
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment