Hi Peng!
On Sa, 12 Mai 2012, Peng Yu wrote:
> On Sat, May 12, 2012 at 6:21 AM, Tim Chase <vim@tim.thechases.com> wrote:
> > On 05/12/12 05:49, Peng Yu wrote:
> >> daw only delete a word. I need to delete something between
> >> spaces. For example, I want to delete the whole string "$abc$",
> >> rather than just "abc". Is there a convenient way to do so?
> >
> > you can use "W" instead of "w" to see if either
> >
> > diW
> > daW
> >
> > does what you want.
>
> Thanks Tim, Matteo and thinca,
>
> I want to delete a word in the context of the file that I'm editing
> using the same command. daW will delete the whole string, which is
> undesirable for perl. How to customize a dw command that can correctly
> delete a word depending on the context?
>
> word1($word2)
da(
regards,
Christian
--
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
Saturday, May 12, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment