mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
fix(nvim): keymaps
This commit is contained in:
parent
4d9782becc
commit
7fe3a98237
5 changed files with 7 additions and 6 deletions
|
|
@ -15,7 +15,7 @@ require "symbols-outline".setup({
|
|||
fold_markers = { '', '' },
|
||||
wrap = false,
|
||||
keymaps = { -- These keymaps can be a string or a table for multiple keys
|
||||
close = { "<Esc>", "q", "<leader><leader>" },
|
||||
close = { "<Esc>", "q" },
|
||||
goto_location = "<Cr>",
|
||||
focus_location = "o",
|
||||
hover_symbol = "<C-space>",
|
||||
|
|
@ -62,4 +62,4 @@ require "symbols-outline".setup({
|
|||
-- },
|
||||
})
|
||||
|
||||
vim.keymap.set('n', '<leader><leader>', require "symbols-outline".open_outline, { desc = "Open symbols outline" })
|
||||
vim.keymap.set('n', '<leader><leader>', function() vim.cmd("SymbolsOutline") end, { desc = "Open symbols outline" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue