vim-like motions; undo and redo for handling maximize particular frame