1
0
Fork 0

Add lazygit

This commit is contained in:
Florian RICHER 2021-06-27 16:24:55 +02:00
parent 5c9d7f46aa
commit 693ff850d5
2 changed files with 5 additions and 0 deletions

View file

@ -23,6 +23,10 @@ local function init()
map('n', '<space>r', '<cmd>lua vim.lsp.buf.references()<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 ------------------------------
cmd 'au TextYankPost * lua vim.highlight.on_yank {on_visual = false}' -- disabled in visual mode
end

View file

@ -25,6 +25,7 @@ function install_packages()
use 'kyazdani42/nvim-web-devicons' -- removing this line doesn't change the error
use 'kyazdani42/nvim-tree.lua'
use 'kdheepak/lazygit.nvim'
end
function init()