Preface
As a vim lover, I am having a bad time writing Java code on Eclipse, where I am not familiar with the shortcuts to switch between files or jump the cursor to places I want. So, I am now trying to write my Java assignments on Vim using eclim plugin, which should fully support the features I used on eclipse.
Installation
Original tutorial: here
- Install required softwares
- Java Development Kit 1.7 or greater
- Vim 7.1
- greater Eclipse 4.4.x (Luna)
- Setup Vim (.vimrc)
- set nocompatible
- filetype plugin indent on
- Install eclim.jar
- file is here
- install: java -jar eclim_2.4.1.jar
Usage
There are two ways to start eclim daemon (required):
- manually run eclimd under eclim directory
- open eclipse and "Window ‣ Show View ‣ Other ‣ Eclim ‣ eclimd" (I think this method is better to start with since you can still view/share the workspace with opening eclipse)
Then, I think one can refer to Eclim Cheatsheet for remaining usages.
No comments:
Post a Comment