[nvim] symbols navigation plugin, tabs navigation keymap

This commit is contained in:
2025-03-16 20:04:02 +03:00
parent 8de9883cbe
commit 836a80c332
3 changed files with 21 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ vim.opt.smartcase = true
-- show line numbers
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.relativenumber = false
vim.opt.cursorline = true
-- show trailing whitespace
@@ -34,3 +34,7 @@ vim.keymap.set("n", "<C-l>", "<C-w>l")
-- Keymap to copy to system buffer
vim.keymap.set('n','<leader>y','"+yy')
vim.keymap.set('v','<leader>y','"+y')
-- Keymap to navigate between tabs
vim.keymap.set('n', 'H', 'gT')
vim.keymap.set('n', 'L', 'gt')

View File

@@ -69,7 +69,21 @@ local plugins = {
{
(not IsYandex) and "lewis6991/gitsigns.nvim" or nil,
dir = (IsYandex) and "~/arcadia/contrib/tier1/gitsigns.arc.nvim" or nil,
}
},
{
"hedyhli/outline.nvim",
lazy = true,
cmd = { "Outline", "OutlineOpen" },
keys = { -- Example mapping to toggle outline
{ "<leader>o", "<cmd>Outline<CR>", desc = "Toggle outline" },
},
opts = {
outline_window = {
position = "left",
}
-- Your setup opts here
},
},
}
require("lazy").setup(plugins)