Monday, February 23, 2015

Re: Combine . with @:



2015-02-23 17:47 GMT+03:00 Paolo Bolzoni <paolo.bolzoni.brown@gmail.com>:
Dear everyone,

It is possible to change the meaning of . so it repeats the last
command, whatever it was a normal command or a ex command? I find
confusing that I can type dw..., but not :cNext<cr>..

Dot was *never* meant to repeat non-editing commands. `dw` is repeated because you edit buffer with it, but something like `/foo` is not repeated by dot (though `d/foo` will). Repeating `:cNext` will completely break the meaning of dot because :cNext is not about editing anything.

Though Ex commands that edit something are not repeated by the dot as well.
 

Yours faithfully,
Paolo

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

Post a Comment