Site Map - skip to main content - dyslexic font - mobile - text - print

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


hpr0174 :: VIM is my IDE

<< First, < Previous, Latest >>

Hosted by Jrullo on 2008-08-29 is flagged as Explicit and is released under a CC-BY-NC-SA license.
Listen in ogg, spx, or mp3 format. | Comments (0)

Django:
This Week in Django
VIM
SnippetsEMU
Nerd tree
taglist
add to ~/.vimrc for shortcuts
Taglist shortcut line:
nnoremap :TlistToggle
NERDtree shortcut line:
nnoremap :NERDTree
Notes:
*.vba is a vimball file open a .vba file and follow the instructions. once in the file type :so % and hit enter to run the .vba file. that should install the vim scripts into your ~/.vim directory. it's always a good idea to run the unzip or .vba files from the directory you want to install them into, as you may come across scripts in the future that assume that's were you are.

default Debian/Ubuntu setting file is here:
/usr/share/vim/vim71/debian.vim yours may be under vim70 or something else depending on your version the global /etc/vim/vimrc runs the debian.vim file

SnippetsEMU notes:
open any SOMELANGUAGE_snippets.vim file to see examples of how to setup a snippet. once snippets are installed, open a file with vim and type a snippet phrase followed by hitting the key and the phrase should be replaced with the bits from the snippet file.

NERD tree notes:

normal vim keyboard keys work in the NERD tree window.
:NERDTree starts it
q from the NERDtree window quits
u for up a level
t for down a level (traverse)
:help NERDTree for extensive command help

Taglist notes:
normal vim keyboard keys work in the taglist window.
taglsits are cumulative, meaning that as you open different files in the same vim session taglist creates a new taglist tree for new files you edit. :TlistOpen starts :TlistToggle toggles between opening and closeing the taglist window F1 for help q quits/closes taglist window
Lodgeit Pastebin for VIM
NERDCommenter for VIM
easily comment out lines and blocks of text inside code for many languages
http://www.vim.org/scripts/script.php?script_id=1218

Comments

Subscribe to the comments RSS feed.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to
record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the P in HPR stand for ?
Are you a spammer →
Who hosted this show →
What does HPR mean to you ?