Bug fix for vim keymap and adding support for temporary disabling keymap.

Fix yanking the last line. 
Vim keymap can be disabled temporarily.