4 ms·
Got a question for HN-ers. I would love to be able to use VIM as I would with Eclipse but perhaps maybe I should change my mindset to fit VIM not the other way
by hello_moto 15y ago
Got a question for HN-ers. I would love to be able to use VIM as I would with Eclipse but perhaps maybe I should change my mindset to fit VIM not the other way around.
Here's the thing: I'd like to change my style of work from using Windows/OSX to using VM with Ubuntu server or some Linux without X installed (browser testing is done outside the VM, of course).
Some of the tools/tech I aim to use: PHP, Python(Django), Ruby(Rails), PostgreSQL(MySQL), JS, HTML, CSS, C, and maybe Java (once in a while).
Now, Eclipse has spoiled me a lot (like, really really a lot: 90% of my time is spent using keyboards and 10% on using the mouse. I know a lot of shortcuts to make me very productive navigating a large multi-projects enterprise Java app from XML[Maven,Spring], CSS, JSP, to JavaScript).
I can jump from JSP straight to the Java class if there's a Scriptlet there.
I can jump from Spring XML configuration to the implementation class and all with one key.
I can run JUnit tests easily without using mouse.
Refactor is a breeze.
I can add and dive into 3rd-party library code (let's say spring-core or even hibernate) easily via Maven + pom.xml (m2clipse plugin will download the 3rd-party library source code provided the jar exist in the repository as soon as you try to see the implementation code of 3rd-party library).
Pretty much doing everything almost without having to leave Eclipse.
These days, I want to try the other ecosystems (RoR, Django). How can I recreate such environment and workflow using VIM or Emacs (I don't mind learning other tools such as ctags).
Give me your input HN-ers! :)