The most awesome feature of SublimeText for me is multiple-cursor editing (Ctrl-D on a word). It only bothers me when I can't skip next occurrences easily (It's possible, but it's hard) It surprises me how users of other major editors don't use multiple cursors in their day to day editing tasks. It'd be awesome if subvim included the best solution vim community has to offer in this regard.
Vim has block editing mode (ctrl v - select, shift i, write text, esc) and the ability to record macros. With those two features you can do everything multiple cursors does and more!
Show HN: Subvim – Vim customized to be like SublimeText
31–40 of 68 posts
Re: Show HN: Subvim – Vim customized to be like SublimeText
#32Seriously why do we need this?
I understand the saying "just because you can do something, doesn't mean you should", but really, we do anything because it can be done (or someone said it couldn't be and we had to prove them wrong). Within sane limits, it's amusing, without sane limits...
Meanwhile, I'm enjoying my life living away from a cave thanks to this same delightful aspect of human nature.
Re: Show HN: Subvim – Vim customized to be like SublimeText
#33I have got to ask the obvious here, why not just switch?
Re: Show HN: Subvim – Vim customized to be like SublimeText
#34Good work! Love the color scheme.
Re: Show HN: Subvim – Vim customized to be like SublimeText
#35Earlier quoted context omitted.
I rarely use global find and replace nowadays (just for complex regex replaces). I hold Ctrl-D until all occurrences are selected and type the replacement string (assuming occurrences are low in quantity, which they usually are in most cases).
visual selection replacement is good too. :' s/this/to that/g I think vim does that automatically when you have a selection active and hit :
So you might consider using :'s/\%Vthis/to that/g
Re: Show HN: Subvim – Vim customized to be like SublimeText
#36Re: Show HN: Subvim – Vim customized to be like SublimeText
#37The most awesome feature of SublimeText for me is multiple-cursor editing (Ctrl-D on a word). It only bothers me when I can't skip next occurrences easily (It's possible, but it's hard) It surprises me how users of other major editors don't use multiple cursors in their day to day editing tasks. It'd be awesome if subvim included the best solution vim community has to offer in this regard.
Multiple-cursors are just a syntactic sugar for macros. s/syntactic/visual/
Re: Show HN: Subvim – Vim customized to be like SublimeText
#38The most awesome feature of SublimeText for me is multiple-cursor editing (Ctrl-D on a word). It only bothers me when I can't skip next occurrences easily (It's possible, but it's hard) It surprises me how users of other major editors don't use multiple cursors in their day to day editing tasks. It'd be awesome if subvim included the best solution vim community has to offer in this regard.
Pressing Ctrl-K,D to skip an entry is quite cumbersome, especially if you missed an entry and there is no way of undoing the last selection.
Re: Show HN: Subvim – Vim customized to be like SublimeText
#39Re: Show HN: Subvim – Vim customized to be like SublimeText
#40The most awesome feature of SublimeText for me is multiple-cursor editing (Ctrl-D on a word). It only bothers me when I can't skip next occurrences easily (It's possible, but it's hard) It surprises me how users of other major editors don't use multiple cursors in their day to day editing tasks. It'd be awesome if subvim included the best solution vim community has to offer in this regard.