feat: keymaps can specify mode (#187)
This commit is contained in:
parent
96a334abeb
commit
977da9ac66
6 changed files with 27 additions and 10 deletions
|
|
@ -35,7 +35,7 @@ local default_config = {
|
|||
-- Selecting a new/moved/renamed file or directory will prompt you to save changes first
|
||||
prompt_save_on_select_new_entry = true,
|
||||
-- Keymaps in oil buffer. Can be any value that `vim.keymap.set` accepts OR a table of keymap
|
||||
-- options with a `callback` (e.g. { callback = function() ... end, desc = "", nowait = true })
|
||||
-- options with a `callback` (e.g. { callback = function() ... end, desc = "", mode = "n" })
|
||||
-- Additionally, if it is a string that matches "actions.<name>",
|
||||
-- it will use the mapping at require("oil.actions").<name>
|
||||
-- Set to `false` to remove a keymap
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue