I've been digging deeper and deeper into vimscript and also scripting vim with python. It's so amazing what you can do with just a few lines of hacky vimscript! Today I made it so that every time I open a .markdown file, vim compiles it to html and opens it in my browser (using 'open' command on OS X). It also updates it automatically every time I save or leave insert mode. I've also hacked together a python REPL ins…
Vim 7.4 is released
101–110 of 126 posts
Re: Vim 7.4 is released
#102Script to assemble last vim from source under Debian/Ubuntu: https://gist.github.com/liverlin/5274228
Re: Vim 7.4 is released
#103Re: Vim 7.4 is released
#104Re: Vim 7.4 is released
#105Earlier quoted context omitted.
Without a question, the one with text objects. Productivity is far greater with vim. Actually to be fair, Sublime's vim emulation mode implements a few text objects, but the proprietary source means no adding our own.
> Productivity is far greater with vim I don't agree with that at all. Vim is useful, perhaps, for a few text matching tricks but typing speed is rarely the bottleneck in programming. It's optimising for the wrong thing. The only people advocating for vim are those who have already gone through the pointless pain of 5 years learning to use the thing. It's basically a cult, or at least a club. And frankly, watching th…
Re: Vim 7.4 is released
#106I installed vim on Ubuntu using apt-get, any tips on how to upgrade it?
Re: Vim 7.4 is released
#107Re: Vim 7.4 is released
#108I love vim, but:- http://www.vim.org/ http://www.sublimetext.com/ Which one would you want to use?
For large web programs ( html/js etc), once you use Sublime, no going back to VI. The plugin ecosystem for js fwks are awesome.
Re: Vim 7.4 is released
#109Re: Vim 7.4 is released
#110Earlier quoted context omitted.
Without a question, the one with text objects. Productivity is far greater with vim. Actually to be fair, Sublime's vim emulation mode implements a few text objects, but the proprietary source means no adding our own.
> Productivity is far greater with vim I don't agree with that at all. Vim is useful, perhaps, for a few text matching tricks but typing speed is rarely the bottleneck in programming. It's optimising for the wrong thing. The only people advocating for vim are those who have already gone through the pointless pain of 5 years learning to use the thing. It's basically a cult, or at least a club. And frankly, watching th…
> typing speed is rarely the bottleneck in programming
You're right, especially if you're using a language that doesn't require a lot of boilerplate. But between the UNIX shell and the normal vim add-ons, even higher-level editing tasks, i.e. those that aren't strictly about raw editing, shouldn't give vim users trouble.
As with negatmx, I'm convinced you haven't met people who use vim properly. Name a task on which you've either seen or you'd imagine a ST user to outperform a vim "power user". I'll let you know the logical way to do it in vim.
[1] To obtain solid proficiency with the vim editing model, just work through the interactive vimtutor, read up on text objects, and spend a couple hours acclimating yourself to using the following motions and commands in place of hjkl (sort of but not necessarily in order of usefullness):
/ ? n N f F t T # *
gg G G (e.g. 42G)
H M L
^ 0 $ { } ( ) w W b B e E
C-f C-b C-d C-u
zt zz zb