Fork me on GitHub

Jan 27, 2009

VIM and Django

Today, I'll share some files with you, my precious VIM config files and extra plugins, and some tips on how to use them.

My .vimrc, you need to put this one on $HOME/.vimrc (you can actually use another location for it, but that's the default):



This is my script to launch GVIM on a Django environment, so it will create a tags file and load the settings.py file too (also set the GVIM window geometry ;)):



I put it into $HOME/bin/djp so to run it I just call:

$ djp .

Unpack my .vim directory to your $HOME to get a lot of plugins, like the NERDtree, NERDcomments, SnippetsEMU, some syntax files and colors, yes lots of colors :):

http://files.getdropbox.com/u/421955/vimconfigs.tar.gz

I'll try to update this vimconfigs.zip file on my Dropbox account regularly.

Some tips in my configs:


  • Press F3 for opening and closing NERDtree

  • Press F4 for opening the scope editor (probably that's the name of that thing)

  • CTRL + N cool autocompletions

  • UPDATED: CTRL + X then O to open OmniCompletion :)

0 comments:

disclaimer



Things written in this blog are my personal thoughts or points of view, and do not represent at all the position of my employer.

Code in the website is licensed under The MIT License

Content of this blog is:
Creative Commons License
Licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.