Improved vim keybindings and undo/redo