mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 11:18:19 +00:00
feat: add undo!
Allows using `undo!` to undo changes and remove them from the undo-tree. Can only be used for moving backwards in the same undo branch.
This commit is contained in:
@@ -2947,7 +2947,7 @@ module.cmds = {
|
||||
},
|
||||
{
|
||||
command='undo',
|
||||
flags=bit.bor(RANGE, COUNT, ZEROR, TRLBAR, CMDWIN),
|
||||
flags=bit.bor(BANG, RANGE, COUNT, ZEROR, TRLBAR, CMDWIN),
|
||||
addr_type='ADDR_OTHER',
|
||||
func='ex_undo',
|
||||
},
|
||||
|
Reference in New Issue
Block a user