Saturday, June 20, 2015

Re: dw but not dp

2015-06-20 21:58 GMT+03:00 Mark Volkmann <r.mark.volkmann@gmail.com>:
> Since dw deletes from the cursor position to the end of the current word, I
> assumed dp would delete from the cursor position to the end of the current

dw is the exception. Most of motions are either `i{char}`/`a{char}` or
just `{char}`, but not *both*.

> paragraph. Instead I get "E99: Current buffer is not in diff mode". The only
> way I've found to do this is d/^$<cr>. Is there a better way?

Specifically for paragraph there are more motions. Search for
`paragraph` in :h index.

>
> --
> R. Mark Volkmann
> Object Computing, Inc.
>
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: