added ctrl-p/n navigation. fixes #1 . also fixed indentation. messy diff, oops.