On Apr 14, 2011, at 11:04 AM, Scott Bicknell wrote:
> w/b move forward/backward by word
> W/B move forward/backward by word including punctuation
> (/) move backward/forward by sentence
> {/} move backward/forward by paragraph
> /,? search forward, backward
>
> These may be used with d, c or y to dw or db, c( or c), y{ or y},
> or even d/search-term or y?search-term to perform an action on
> text covered by a search.
>
> One way to think about these various commands is as nouns and
> verbs. d, c, s etc. are the verb commands. w, W, b, B, (, ), {,
> }, /, ?, etc. are the nouns. Nouns and verbs may be combined
> freely. Vim's commands are like a mini-language.
>
> Additionally, you may use text objects from inside those objects.
> For example:
> iw, aw for 'inner word' and 'a word' may be used with d, c and
> y to daw/diw 'delete a word' or delete inner word' from inside of
> words. The same may be done with is and as for 'inner sentence'
> and 'a sentence' and with ip and ap for 'inner paragraph' and 'a
> paragraph'. The various combinations of these work with d, c and
> y to delete, change or yank these objects.
Thanks, Scott. Very helpful. It'll probably take me a little while to work them
into my way of working, so they become intuitive, but it will happen.
------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA USA
[email protected]
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php