Ah ha,
-- So * on my machine is doing the same % in the standard install. I got my config from somewhere in internet space, hence the difference.
:%s/)/);
...does the job and doesn't complain about marks.
The idea with vimgolf is to achieve the required edit in a few keystrokes as possible. I've got this down to 11 (including ESC, CR and ZZ to save), but the best in the rankings is 10 keystrokes, and I just can't figure out how to get rid of that last keypress. : P
Thanks for the help with '%',
-N
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/bfa14f67-63a4-463a-aad7-b7081d538513%40googlegroups.com.
No comments:
Post a Comment