Using Vim like an IDE

Posted on: Oct 19, 2009 by wenbert

I have been looking for a good and lightweight text editor for some time already. I have tried Notepad++, SciTE and others but was not satisfied with any. Although I have been using Vi and Vim to edit files on my server I have never actually tried to use it as a “local” text editor. This is the first time I have taken a deeper look at Vim. So here goes…

You can download Vim here: http://www.vim.org/. After that download these plugins:

I am using Ubuntu, so I created a .vim folder inside my home directory. The directory structure is something like this:

/home/wenbert/.vim
/home/wenbert/.vim/plugin
/home/wenbert/.vim/doc

Follow the installation instructions for the plugins after you download and extract them.

Here my .vimrc file can be found here.

How I use my vim

  1. I open Vim
  2. I issue this command “:NERDTree bookmark_name” (note: you must have an existing NERDTree Bookmark — see NERDTree docs on how to do this)
  3. I use NERDTree to browse and open the files.
  4. To close a buffer, I just use CTRL+W. The CTRL+W is mapped to :Bclose which closes the buffer without closing the window.
  5. I use CTRL+Arrowkeys to switch between the Bufexplorer, NERDTree and the current file I am editting.

Subscribe to comments Comment | Trackback |
Post Tags: , ,

Browse Timeline


Comments ( 2 )

OMG. This is suicide.
Did u tried to use gedit?

Dievs added these pithy words on Oct 23 09 at 6:08 AM

Suicide? I don’t think so. I am looking for something that runs in both the GUI and the terminal.

Wenbert added these pithy words on Oct 23 09 at 8:46 AM

Add a Comment


XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">


© Copyright 2007 eKini Web Developer Blog . Thanks for visiting!