feat: Add keymaps for Spectre and Lazygit
This commit is contained in:
parent
0f14f2d8af
commit
ad86e8b6c9
2 changed files with 27 additions and 1 deletions
|
|
@ -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()'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue