keymap for inserting linebreaks at comma

This commit is contained in:
andrzej 2024-05-18 11:58:58 +02:00
parent c0bca45e7e
commit 9697ff7225
1 changed files with 2 additions and 0 deletions

View File

@ -48,3 +48,5 @@ vim.api.nvim_create_autocmd({ "DirChanged", "VimEnter" }, {
end
end,
})
-- go to next comma and press enter
vim.keymap.set("n", "<M-,>", "f,a<cr><esc>")