Add lazygit
This commit is contained in:
parent
5c9d7f46aa
commit
693ff850d5
2 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,10 @@ local function init()
|
||||||
map('n', '<space>r', '<cmd>lua vim.lsp.buf.references()<CR>')
|
map('n', '<space>r', '<cmd>lua vim.lsp.buf.references()<CR>')
|
||||||
map('n', '<space>s', '<cmd>lua vim.lsp.buf.document_symbol()<CR>')
|
map('n', '<space>s', '<cmd>lua vim.lsp.buf.document_symbol()<CR>')
|
||||||
|
|
||||||
|
-------------------- LAZYGIT -------------------------------
|
||||||
|
-- Install docs : https://github.com/jesseduffield/lazygit
|
||||||
|
map('n', '<space>lg', '<cmd>LazyGit<CR>')
|
||||||
|
|
||||||
-------------------- COMMANDS ------------------------------
|
-------------------- COMMANDS ------------------------------
|
||||||
cmd 'au TextYankPost * lua vim.highlight.on_yank {on_visual = false}' -- disabled in visual mode
|
cmd 'au TextYankPost * lua vim.highlight.on_yank {on_visual = false}' -- disabled in visual mode
|
||||||
end
|
end
|
||||||
|
|
|
@ -25,6 +25,7 @@ function install_packages()
|
||||||
|
|
||||||
use 'kyazdani42/nvim-web-devicons' -- removing this line doesn't change the error
|
use 'kyazdani42/nvim-web-devicons' -- removing this line doesn't change the error
|
||||||
use 'kyazdani42/nvim-tree.lua'
|
use 'kyazdani42/nvim-tree.lua'
|
||||||
|
use 'kdheepak/lazygit.nvim'
|
||||||
end
|
end
|
||||||
|
|
||||||
function init()
|
function init()
|
||||||
|
|
Loading…
Add table
Reference in a new issue