This commit is contained in:
GasparVardanyan 2024-09-25 01:32:12 +04:00
parent 27680bcb76
commit 1c5f169fbf
4 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,9 @@
vim.cmd [[
let g:gitgutter_signs = 0
nmap <Leader>gd <Plug>(GitGutterPreviewHunk)
" nmap <Leader>gf <Plug>(GitGutterFold) " why doesn't work?
nmap <Leader>gf :GitGutterFold<cr>
nmap <Leader>gu <Plug>(GitGutterUndoHunk)
nmap ]h <Plug>(GitGutterNextHunk)
nmap [h <Plug>(GitGutterPrevHunk)
]]

3
lua/configs/tagbar.lua Normal file
View file

@ -0,0 +1,3 @@
vim.cmd [[
noremap <leader>tt :TagbarToggle<cr>
]]

View file

@ -13,6 +13,7 @@ vim.opt.updatetime = 250
vim.g.python_recommended_style = 0
vim.opt.clipboard = ''
vim.opt.expandtab = false
vim.opt.exrc = true
vim.cmd [[
command -range=% Encrypt execute "'<,'>!gcrypt -S -e \"$(pass show pdata)\" | base64"

View file

@ -1,4 +1,12 @@
return {
{
"majutsushi/tagbar",
lazy = false,
config = function()
require "configs.tagbar"
end,
},
{
"mbbill/undotree",
lazy = false,