feat(config): Allow configuring keymaps

Closes #1
This commit is contained in:
simrat39
2021-04-28 15:03:40 -07:00
parent abe479fe69
commit 067fd91f16
3 changed files with 58 additions and 28 deletions

View File

@@ -5,7 +5,15 @@ local M = {}
local defaults = {
highlight_hovered_item = true,
show_guides = true,
position = 'right'
position = 'right',
keymaps = {
close = "<Esc>",
goto_location = "<Cr>",
focus_location = "o",
hover_symbol = "<C-space>",
rename_symbol = "r",
code_actions = "a",
}
}
M.options = {}