3 ms·
Vim + Screen has been my "IDE" of choice for 5+ years. At this point I probably could not hack on code using any other toolset—it's so ingrained. And compiling
by korch 16y ago
Vim + Screen has been my "IDE" of choice for 5+ years. At this point I probably could not hack on code using any other toolset—it's so ingrained. And compiling Vim with Ruby bindings has also allowed me to whip up some very useful scripts to performs routine tasks like you'd see in Eclipse.
Vim ftw!
- mcantor 16y agoLink to information on vim's ruby bindings? Google doesn't say much right off the bat.
- pyre 16y agoThe best source of information is in the vim docs. I also found that to be true of the python bindings as well. Google doesn't do as good of a job as the vimdocs do (probably because most people the whip stuff up using the bindings publish their code as vimscripts/plugins/etc instead of writing blog posts about it). Ruby => http://vimdoc.sourceforge.net/htmldoc/if_ruby.html http://vimdoc.sourceforge.net/htmldoc/if_ruby.html Python => http://vimdoc.sourceforge.net/htmldoc/if_pyth.html http://vimdoc.sourceforge.net/htmldoc/if_pyth.html
- Dornkirk 16y agoI actually don't really understand using this as an "IDE" - part of the reason I don't think I'd be able to leave Eclipse is because it's "fully loaded" so to speak - such as navigating my project's directory/structure, debugging, etc, and I don't think I could live without auto-complete (maybe I'm lazy, but I didn't see it in this video and I don't see how it'd be possible in a Vim environment?), not just auto-complete for the time saving but also for the inspection - I (unfortunately) work with a convoluted piece of technology where every instance of a class seems to inherit a gazillion properties & methods and I sometimes don't know what I'm looking for unless I can scroll down the list that auto-complete gives me.
- dan00 16y ago".. and I don't think I could live without auto-complete (maybe I'm lazy, but I didn't see it in this video and I don't see how it'd be possible in a Vim environment?) .." In insert mode the keys CTRL-P, CTRL-N complete the previous/next matching word. Instead of these keys you can use the supertab plugin, to complete a word by hiting tab in insert mode. You can choose where vim searches for matching words with the variable 'complete'. There's also the omnicompletion, which does language specific completes, like method names of an object, by using ctags. Search for 'omnicomplete <language>' to find the language specific plugin.