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
Show HN: Subvim – Vim customized to be like SublimeText
41–50 of 68 posts
Re: Show HN: Subvim – Vim customized to be like SublimeText
#42Re: Show HN: Subvim – Vim customized to be like SublimeText
#43slightly 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
Re: Show HN: Subvim – Vim customized to be like SublimeText
#44Earlier quoted context omitted.
I love vim but I don't think that block editing mode does what they want to do quite as well. Do you have an example where they excluded a line or lines from block editing? an example: class="item" class="item" class="item" class="item" st2 would be able to select the second and fourth line item and be able to change those to "item odd" without touching the first and the third ones. similarly they could do the same a…
This would be easily done by recording a macro and replaying it numlines/2-1 times. Possibly if starting on the first line: q,a,j,$,i, odd,esc,j,q,4@a qa // start recording into 'a' register j // move down $ // move last char on line i // insert mode odd // esc // back to command mode j // move down 4@a // replay macro 4 times (if there are 8 more lines)
Re: Show HN: Subvim – Vim customized to be like SublimeText
#45too bad CtrlP is crap compared to sublime's fuzzy searching
Re: Show HN: Subvim – Vim customized to be like SublimeText
#46Re: Show HN: Subvim – Vim customized to be like SublimeText
#47Re: Show HN: Subvim – Vim customized to be like SublimeText
#48This seems rad, my only 2cents is that using modifier keys is not very vimmy. But altogether really cool. Nice work.
Re: Show HN: Subvim – Vim customized to be like SublimeText
#49Earlier 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).
Ctrl+cmd+g is cmd+d for all occurrences on the page.
Re: Show HN: Subvim – Vim customized to be like SublimeText
#50Wonder how this compares to SPF13, which I've been using lately. https://github.com/spf13/spf13-vim
Some of plugins (like ctrlp) is modified in order to use the ctags binary I'm bundling and installing. There is also pre-compiled version of YCM in subvim. Together it means autocompletion and goto features are really working. You really don't install anything.
The plugins settings are modified in order to emulate ST2 like behavior, like accepting autocomplete entry via enter, creating a newline after braces,quotes,etc.., opening a new tabs whenever you call cmd+p (but not if you call cmd+r for using goto), closing the application and starting again brings all you tabs/files again and so on..
They are many things I'm trying to improve, like adding snippet system, more improved installation procedure, multiplatform support (linux and windows). SPF13 is much better on these terms.
I hope with time it will get better :)