feat(config): Allow multiple keys for keymaps

Closes #45
This commit is contained in:
simrat39
2021-07-29 12:09:41 -07:00
parent 260227983a
commit 63931775ce
3 changed files with 16 additions and 7 deletions

View File

@@ -11,8 +11,8 @@ local defaults = {
show_numbers = false,
show_relative_numbers = false,
show_symbol_details = true,
keymaps = {
close = "<Esc>",
keymaps = { -- These keymaps can be a string or a table for multiple keys
close = {"<Esc>", "q"},
goto_location = "<Cr>",
focus_location = "o",
hover_symbol = "<C-space>",