I have a line of text that looks like this:
/* This is a test */
I have the cursor at the beginning of the word This and want to delete
up to (including) the last * on the line. If I type df* nothing will
happen, presumably because * is recognised as a special character
(search forward for the word under cursor) in vim.
Is there a way to overwrite this behavior and to get vim to treat * as a
character literal?
Regards,
George
> I have a line of text that looks like this:
>
> /* This is a test */
>
> I have the cursor at the beginning of the word This and want to delete
> up to (including) the last * on the line. If I type df* nothing will
> happen, presumably because * is recognised as a special character
> (search forward for the word under cursor) in vim.
Works perfectly here. (Vim 7.2 on Ubuntu 9.04)