tmux and vim configuration

I’ve now been on tmux for quite a few months since migrating from screen. aterm + tmux + zsh + vim makes a super command-line combination. But there can be certain issues with the key bindings with vim. Since moving to tmux I’ve avoided using vim tabs since I couldn’t figure out the right key bindings to switch them using C-PgUp and C-PgDn when in tmux. But today with a little help on #tmux and kerneltrap I finally got things working.