[nvim] symbols navigation plugin, tabs navigation keymap
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
"mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" },
|
"mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "c27370703e798666486e3064b64d59eaf4bdc6d5" },
|
"nvim-cmp": { "branch": "main", "commit": "c27370703e798666486e3064b64d59eaf4bdc6d5" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "fd26f8626c03b424f7140d454031d1dcb8d23513" },
|
"nvim-lspconfig": { "branch": "master", "commit": "fd26f8626c03b424f7140d454031d1dcb8d23513" },
|
||||||
|
"outline.nvim": { "branch": "main", "commit": "ae473fb51b7b6086de0876328c81a63f9c3ecfef" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
||||||
"telescope-file-browser.nvim": { "branch": "master", "commit": "626998e5c1b71c130d8bc6cf7abb6709b98287bb" },
|
"telescope-file-browser.nvim": { "branch": "master", "commit": "626998e5c1b71c130d8bc6cf7abb6709b98287bb" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "814f102cd1da3dc78c7d2f20f2ef3ed3cdf0e6e4" },
|
"telescope.nvim": { "branch": "master", "commit": "814f102cd1da3dc78c7d2f20f2ef3ed3cdf0e6e4" },
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ vim.opt.smartcase = true
|
|||||||
|
|
||||||
-- show line numbers
|
-- show line numbers
|
||||||
vim.opt.number = true
|
vim.opt.number = true
|
||||||
vim.opt.relativenumber = true
|
vim.opt.relativenumber = false
|
||||||
vim.opt.cursorline = true
|
vim.opt.cursorline = true
|
||||||
|
|
||||||
-- show trailing whitespace
|
-- show trailing whitespace
|
||||||
@@ -34,3 +34,7 @@ vim.keymap.set("n", "<C-l>", "<C-w>l")
|
|||||||
-- Keymap to copy to system buffer
|
-- Keymap to copy to system buffer
|
||||||
vim.keymap.set('n','<leader>y','"+yy')
|
vim.keymap.set('n','<leader>y','"+yy')
|
||||||
vim.keymap.set('v','<leader>y','"+y')
|
vim.keymap.set('v','<leader>y','"+y')
|
||||||
|
|
||||||
|
-- Keymap to navigate between tabs
|
||||||
|
vim.keymap.set('n', 'H', 'gT')
|
||||||
|
vim.keymap.set('n', 'L', 'gt')
|
||||||
|
|||||||
@@ -69,7 +69,21 @@ local plugins = {
|
|||||||
{
|
{
|
||||||
(not IsYandex) and "lewis6991/gitsigns.nvim" or nil,
|
(not IsYandex) and "lewis6991/gitsigns.nvim" or nil,
|
||||||
dir = (IsYandex) and "~/arcadia/contrib/tier1/gitsigns.arc.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)
|
require("lazy").setup(plugins)
|
||||||
|
|||||||
Reference in New Issue
Block a user