1
0

Add description for <leader>=

This commit is contained in:
2025-09-11 17:38:05 +01:00
parent f2036743ba
commit 84dd17f3e6

View File

@@ -1,7 +1,10 @@
require("config.lazy") require("config.lazy")
-- visual mode <space> = to line up "=" in selection -- visual mode <space> = to line up "=" in selection
vim.keymap.set('v', '<leader>=', ':Tabularize /=<CR>', { noremap = true, silent = true }) vim.keymap.set(
'v', '<leader>=', ':Tabularize /=<CR>',
{ noremap = true, silent = true, desc = "Align = in selection" }
)
-- za to fold, zm and zR to (un)fold all -- za to fold, zm and zR to (un)fold all
vim.cmd("set foldmethod=marker") vim.cmd("set foldmethod=marker")