nvim: move arrow, add namu and odin

This commit is contained in:
2025-06-04 21:18:36 +02:00
parent ecb466f230
commit 867e3d6991
4 changed files with 64 additions and 14 deletions

View File

@@ -1,4 +1,16 @@
return {
{
"otavioschwanck/arrow.nvim",
dependencies = {
{ "nvim-tree/nvim-web-devicons" },
},
opts = {
show_icons = true,
leader_key = '-', -- Recommended to be a single key
buffer_leader_key = '+', -- Per Buffer Mappings
}
},
{
"chentoast/marks.nvim",
event = "VeryLazy",
@@ -9,4 +21,28 @@ return {
{ '<leader>mg', '<cmd>MarksListGlobal<CR>' },
},
},
{
"bassamsdata/namu.nvim",
config = function()
require("namu").setup({
-- Enable the modules you want
namu_symbols = {
enable = true,
options = {}, -- here you can configure namu
},
-- Optional: Enable other modules if needed
ui_select = { enable = false }, -- vim.ui.select() wrapper
})
-- === Suggested Keymaps: ===
vim.keymap.set("n", "<leader>'", ":Namu symbols<cr>", {
desc = "Jump to LSP symbol",
silent = true,
})
vim.keymap.set("n", "<leader>\\", ":Namu workspace<cr>", {
desc = "LSP Symbols - Workspace",
silent = true,
})
end,
}
}