Steve Losh's .vimrc
51–60 of 103 posts
Re: Steve Losh's .vimrc
#52Here's a commented version of my .vimrc, which is modeled after Steve's, albeit nowhere near as comprehensive. (Looks like I lost it's fixed width in the paste? Sorry!) http://pastebin.com/jJQFxQpR For me it's a lot quicker to reference comments than the :help entry for each option. Thought it might help others who are creating/modifying their .vimrc. And of course, thanks Steve for continuing to share your stuff. I'…
Re: Steve Losh's .vimrc
#53Re: Steve Losh's .vimrc
#54Re: Steve Losh's .vimrc
#55Re: Steve Losh's .vimrc
#56vimscript really is an abomination. vim users of the world unite! and create a proper macro language for your editor. and no: running an external python/ruby/brainfuck process does not count.
Re: Steve Losh's .vimrc
#57I highly recommend putting your vim configuration on github or similar, you don't have to worry about losing your config and it gets easier for everyone to learn the new tricks
Re: Steve Losh's .vimrc
#58Earlier quoted context omitted.
Actually I'm planning on splicing it into MakeGreen, so instead of getting a green bar when my tests pass I get Nyan Cat flying across my window. Maybe over Thanksgiving weekend I'll get around to it. Edit: Also, if anyone can show me how to draw an ASCII-art Nyan Cat in one line of text that would be awesome. Nothing I tried looked recognizable.
how bout 2 lines? http://jsfiddle.net/MHj9N/
Re: Steve Losh's .vimrc
#59vimscript really is an abomination. vim users of the world unite! and create a proper macro language for your editor. and no: running an external python/ruby/brainfuck process does not count.
I dunno, I think the Python interface is adequate. Not great, but gets the job done. I write almost all my Vim scripts in Python.
The other thing is that the Vim API you use in these other languages is pretty much Vimscript anyway.
For me, Vimscript is basically a normal imperative language in the general neighborhood of perl and shell... I agree it is more awkward to write than Python, particularly with escaping. But it's a decent DSL for configuring text editors, and Python isn't as much.
Re: Steve Losh's .vimrc
#60Does this affect performance in any way? 1k+ lines is quite a lot.
If you have a ton of autocmds for frequent events, things can slow down. I also find that things can get slow when LOTS of calls are made to a language other than Vimscript.
But fundamentally, run Eclipse and Netbeans and gedit and emacs - vim should compare favorably even with a ton of config.
If you want to actually profile your startup time, try this on a recent version of vim: vim --startuptime=vim.log