-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: keymap actions can be parameterized
- Loading branch information
Showing
6 changed files
with
321 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
96368e1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the previous tag that was a wrong commit.
@stevearc is save depcreciated in this commit? it's still in the README tho.
I have C-s as save
` BufReadCmd Autocommands for "oil://*": Vim(append):Error executing lua callback: .../.local/share/nvim/lazy/oil.nvim/lua/oil/keymap_util.lua:15: Unknown action name: save
96368e1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@directormac I have...no idea what you're talking about. To the best of my knowledge
save
has never been an available action, and I don't see any mention ofactions.save
in the README. The only change that was made that might affect this is non-existent actions now fail with an assertion error instead of silently failing.96368e1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well i have been using it ever since i started using oil 😅, i didnt know it should not be called from actions but maybe it has not been working all along and the one thats triggering it was my default ctrl s binding. Sorry for the confusion.
96368e1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just FYI @stevearc, before this commit, the below config is working fine
And now, here is the new config. I guess the
actions.save
was there somehow.