I usually use the command `dt"` and `dt[` to delete the content from the current position to the mark [ or ".
Is there a way that use the commannd `dtt`(for example) to combine the two `dt[` and `dt"` command?
for example , `$` mark the current position of the curor.
1. "aaaa$bbbb"[cccccddddd] ; command dtt delete bbbb
2. "aaaabbbb"[ccccc$ddddd] ; command dtt delete ddddd
3. [ccccc"aaaa$bbbb"ddddd] ; command dtt delete bbbb, find the " or ] which is closer to the current curor
I think it need a custum function to make it.
And the problem for me now is now to locate the closer " or ], and then delete to the mark.
--
--
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.
Friday, June 3, 2016
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment