Gabriel's Musings

October 16, 2006

Vim IDE update

Filed under: Computers — ggellner @ 5:35 pm

Well the weekend was a whirlwind tour of vim’s features and customizations. This was largely enlightening to me, I truly love vim, and this experience has only deepened that feeling.

Some customizations of note:

  • The NERD Commenter, for smart programming comments.
  • python.vim, updated highlight script, adds some pretty bells and whistles.
  • pydoc.vim, give access to pydoc output in a split vim window. I have defined the extra keymap (nmap K <leader>pw) which is more natural in python mode than having access to shell man pages.
  • taglist, a great class browser.
  • python.vim, updated indent rules that are more inline with the python recommendations (align with open braces, etc).

These are the major enhancements I have used. They solve some of the editing and informational problems outlined in a good IDE. But it is not perfect yet, and will need some tweaking. the pydoc interface is not super smart, as it is confused by imported modules. Omnicompletion is very slow, and works poorly — though I am considering using the short cut <C-Space> as the completion instead of <C-x><C-o> as I find the latter awkward. I am still not sure about using smart tabs — that is not allowing tabs past allowed limits. I have written some code to enforce this, but it might be overly draconian.

I have also set up pylint as the python compiler, so I get error messages that I can correct according to style guidelines. This is awesome, though I need it to open another window so I can see the errors in a more explicit manner.

Anyway, the progress continues. I will have to put my head around the symbolic debugger. There seems to be a good project for gdb, called clewn, though it will be seen how easy it is to use pdb instead.

Advertisement

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Shocking Blue Green. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.