Live data from Hacker News

Show HN: Subvim – Vim customized to be like SublimeText

github.com

51–60 of 68 posts

Re: Show HN: Subvim – Vim customized to be like SublimeText

#51
post #4

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.

OP here. There are some plugins but I didn't research it. But here is one that I think do it (and if it's good I'll integrate it): https://github.com/paradigm/vim-multicursor

Re: Show HN: Subvim – Vim customized to be like SublimeText

#52
post #33

I have got to ask the obvious here, why not just switch?

Because i love Vim :) Then there was Sublime that really changed the way of editing in some way. I first tried vintage and make it vim-like. However it was slow and not much was I wanted. Thus finally creates this project. For Vim users who like Sublime.

ST3 will be released soon and is supposedly going go fully support all vim commands in vintage mode with better performance.

Re: Show HN: Subvim – Vim customized to be like SublimeText

#53

This is awesome. As a Sublime user I'm going to put this on my dev server for those times when I have to SSH in and make an emergency code change without my primary machine handy.

Did that too

Love this project. Sublime Text's awesomeness makes it hard to completely switch back to VIM, but this looks like a good approach to bring features we have grown to love back to VIM, without all the hazzle.

Re: Show HN: Subvim – Vim customized to be like SublimeText

#54
post #4

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.

Is awesome but it needs some work, it would be _really_ nice if it were syntax aware, so if you start Ctrl+D in a variable it should only select where is being used as a variable and not other things (regex, strings, etc) or at least a boolean option to enable this behavior.

Re: Show HN: Subvim – Vim customized to be like SublimeText

#55
post #4

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.

I'm a Vim user and this is the only Sublime feature that I think I'd like to see in a future version of core Vim. Another comment called it "syntactic sugar for macros"[1] and that's true. Multicursor functionality allows you to avoid repetition in so many cases that it's worthy of inclusion as a feature in its own right.

[1] https://news.ycombinator.com/item?id=5504507

Re: Show HN: Subvim – Vim customized to be like SublimeText

#56
post #4

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.

I would not say it's essential, but multiple cursors is certainly one of the features I use quite frequently in Emacs. In many occasions, it is more useful than plain search and replace, though even that is kind of super charged in Emacs to bein with.

Re: Show HN: Subvim – Vim customized to be like SublimeText

#57
post #20

slightly off topic, but I think a thing that is sorely needed is a kind of libvim that provides proper vim functionality, which can then be linke

A thousand times yes. I'm using Vim keybindings in most of my editors, and every time it is something somebody implemented anew which is kinda like vim, but not really like vim. It would be great to take the complete set of keybindings > actions out of vim, abstract it away, and put it into a library. I looked into the vim code a bit, and it seems that this is a lot of work.

GNU Readline already provides a lot of VI's (so almost VIM) functionality as a library. Maybe that could be used as a starting point? It probably still is a lot of work though.

Re: Show HN: Subvim – Vim customized to be like SublimeText

#59
post #55
post #4

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.

I'm a Vim user and this is the only Sublime feature that I think I'd like to see in a future version of core Vim. Another comment called it "syntactic sugar for macros"[1] and that's true. Multicursor functionality allows you to avoid repetition in so many cases that it's worthy of inclusion as a feature in its own right. [1] https://news.ycombinator.com/item?id=5504507

I think what we already have in vim is even better: just use dot (.) to repeat the last action. So you make some edits in your first cursor position, move to the next cursor position and press dot to repeat the edit.

Re: Show HN: Subvim – Vim customized to be like SublimeText

#60
post #41
post #20

slightly off topic, but I think a thing that is sorely needed is a kind of libvim that provides proper vim functionality, which can then be linke

yes agreed - JetBrains has IdeaVim, but it is so lame compared to the real thing.

How is the speed? Last time I tried it, about 6 months ago, there was a very noticeable lag when switching between modes. I ran into the maintainer of IdeaVim at PyCon and he said it should be better but my trial period expired and I never got a chance to try it again.
Post reply on HN