make esc work sensibly in vim/tmux

you may want to use the timeout thing instead of disabling esckeys, your
mileage may vary.
http://www.polarhome.com/vim/manual/v57/options.html#'esckeys'
change out pcd for autojump
set more history settings
add tern