dotfiles/.config/nvim/lua/coding.lua

20 lines
518 B
Lua
Raw Normal View History

packer.use { -- toggle comments
'https://github.com/tomtom/tcomment_vim',
config = function()
2022-08-08 20:14:58 +02:00
map('n', '<Leader>c', ':TComment<cr>')
end
}
packer.use {
'https://github.com/TimUntersberger/neogit',
requires = 'https://github.com/nvim-lua/plenary.nvim',
config = function()
require('which-key').setup {
-- commit_popup = {
-- kind = 'split'
-- }
}
2022-08-08 20:14:58 +02:00
end,
map('n', '<Leader>g', ':Neogit<cr>')
}