-
Notifications
You must be signed in to change notification settings - Fork 11
Description
os: Sierra
Atom: 1.12.7
atom-alignment 0.12.1
It's quite possible that this is a bug with vim-mode-plus, and not atom-aligment. vim-mode-plus nonetheless happily permits ctrl+z "undo" operations for other kinds of file modifications, so I thought I'd raise the issue here first. Please of course feel free to close if this smells more like a vim-mode issue.
Output after calling atom-alignment on a larger-than-intended area [Normal mode], and calling ctrl-z:
This is unusual, as Normal mode doesn't replace the default Atom keybindings. Cmd+[key] events should work as expected in Normal mode.
Strangely it is semi-possible to undo the changes in Insertion Mode, but only one line at a time. It may or may not be relevant to mention ctrl-z undoes the deselect event as well, which for practical purposes means that the bottom of the selected portion steals focus from the window every time it gets called, i.e. you're just kinda blindly hitting undo over and over and it's not clear what you're undoing. For large areas of text, what this means is that returning to the previous state basically requires forcibly killing the buffer and reopening from the last save.
