thoughts, ideas, code and other things...

Saturday, September 12, 2009

Now that's my vim...

People talk of IDEs, some vouch for eclipse, some netbeans, some prefer geany, some people like me use gedit and gvim all the time. Last month I was looking for some better customizations for Python in gvim and gedit and happened to try out every other python related plugin. Simplicity of gvim ruled out the incompatibility of some plugins of gedit in the end. Beautified with monokai color theme and Monaco font, it almost gives you feel of those colorful RoR screencasts. Have a look -

  • NERDTree is an awesome plugin that helps you browse/switch through files in your project just as one would do with gedit's file browser. I've kept Ctrl+Alt+N as a shortcut to toggle NERDTree
  • Pydiction is another good plugin to tab-complete your python code.
  • As for Monokai color theme you've got three options - molokai, lanai, monokai_modified
  • Grab Monaco.ttf

    $ wget -O /tmp/monaco.ttf
    $ sudo cp /tmp/monaco.ttf /usr/share/fonts/truetype/freefont/
    $ sudo chmod o+r /usr/share/fonts/truetype/freefont/monaco.ttf
    $ fc-cache -f -v

  • Have fun changing your terminal font to monaco, better make it as default monospace font.
You can even checkout my dotfiles stash on github. Make sure you make changes to your home location on line 73 of .vimrc.

pydiction in action

Labels: ,


At September 12, 2009 at 8:30 AM , Blogger l0nwlf said...

Man, your vim is making me J. Am using monaco 13 with silver foreground on black background(looks great on mac) but u'r colorscheme is totally in sync. However python autocompletion is kool, borrowed a few functions from u'r .vimrc. On the hunt for a colorscheme..c ya :)


Post a Comment

Subscribe to Post Comments [Atom]

<< Home