add vim mappings for terminal. reference: https://news.ycombinator.com/item?id=7051091