This post originated from an RSS feed registered with Web Buzz
by Chris Eidhof.
Original Post: Cool vim tricks
Feed Title: buzzdriver
Feed URL: http://www.my-website.nl/weblog/feed/
Feed Description: This is a technical weblog about web development, and mainly focussed on markup, css, javascript, semantic web, but also other things like linux, open source and general tech-related subjects.
I’ve got a few things in my ~/.vimrc that are quite handy when developing stuff. The first ones are for quickly compiling and running stuff:
map <F8> :!./c<CR>
map <F9> :!./d<CR>
When you put this in your .vimrc, you can put just about anything in a file called “c”, and execute that. For example, when working on a [...]