feat: Add keymaps for Spectre and Lazygit

This commit is contained in:
tsegaye27 2025-02-13 20:41:35 +03:00
parent 0f14f2d8af
commit ad86e8b6c9
2 changed files with 27 additions and 1 deletions

View file

@ -44,7 +44,7 @@ vim.opt.foldcolumn = '1'
function _G.custom_foldtext()
local line = vim.trim(vim.fn.getline(vim.v.foldstart))
local fold_size = vim.v.foldend - vim.v.foldstart + 1
return string.format('%s ⏤ %d lines', line, fold_size)
return string.format('%s ⏤ %d lines', line, fold_size)
end
vim.opt.foldtext = 'v:lua.custom_foldtext()'