Hipster PDA
Hipster PDA

Best Screencast ever
Desktop, June 24, 2011
Took a while for it to get here.
Why we believe in God(s)
Before switching to Vim from TextMate I was heavily relying on the TODO Bundle to keep track of all the tasks in my source files.
After switching for good, I was looking for a way to implement this behavior in Vim.
Here is what I’ve come up with:
1. Install ack (I am using Homebrew for this):
sudo brew install ack
2. Install the Vim-Ack plugin:
git clone https://github.com/mileszs/ack.vim
cd ack.vim
rake install
3. Create a new mapping in your .vimrc that looks like this:
map <leader> T :Ack --all TODO *<CR>
map <leader> F :Ack --all FIXME *<CR>
map <leader> C :Ack --all CHANGED *<CR>
Where <leader> is your lead key:
Fire up Vim and now you’re able to search your current directory for the specific strings using simple shortcuts. ,T = TODO / ,F = FIXME / ,C = CHANGED
The Ack Plugin will create a split window that shows all results and you’re even able to directly jump to them!

Simple but effective.
Archive - Again (Live)
50 notes