I've been learning a lot of vim lately, and honestly I'm very addicted. Here are some tricks I've learned today.
(Note that by default vim is set to use \ as
map <Leader>t :w\|!rspec spec<cr>
map <Leader>r :w\|!rackup<cr>
To suspend vim and switch to the console:(C = Control)
To switch back to vim when you're done, type: