chore(config): tweaks to nvim config, autogroups

This commit is contained in:
2024-11-09 19:49:21 +02:00
parent d091f5a88f
commit d5618c9b5f
5 changed files with 119 additions and 58 deletions

View File

@@ -141,8 +141,8 @@ return {
{
'<leader>cf',
'<cmd>lua require("conform").format({ async = true, lsp_fallback = true })<cr>',
mode = { 'n', 'v' },
desc = 'Format buffer',
mode = {},
desc = 'Format buffer with Conform',
},
{
'<leader>ci',
@@ -509,7 +509,7 @@ return {
},
-- ── Old habits ──────────────────────────────────────────────────────
{ '<C-s>', '<cmd>w<CR>', desc = 'Save file' },
{ '<C-s>', '<cmd>w!<CR>', desc = 'Save file' },
-- ── Text manipulation in visual mode ────────────────────────────────
{