2022-11-12 07:48:04 -05:00
|
|
|
require("nvim-mapper").setup({
|
|
|
|
|
-- do not assign the default keymap (<leader>MM)
|
|
|
|
|
no_map = false,
|
|
|
|
|
-- where should ripgrep look for your keybinds definitions.
|
|
|
|
|
-- Default config search path is ~/.config/nvim/lua
|
2022-11-15 17:17:06 -05:00
|
|
|
search_path = os.getenv("~/.config/nvim/lua/keymaps.lua"),
|
2022-11-12 07:48:04 -05:00
|
|
|
-- what should be done with the selected keybind when pressing enter.
|
|
|
|
|
-- Available actions:
|
|
|
|
|
-- * "definition" - Go to keybind definition (default)
|
|
|
|
|
-- * "execute" - Execute the keybind command
|
2022-11-16 17:11:48 -05:00
|
|
|
action_on_enter = "execute",
|
2022-11-12 07:48:04 -05:00
|
|
|
})
|