vim: add keymap to run formatter in visual mode

This commit is contained in:
Fernando Schauenburg 2024-02-19 18:13:37 +01:00
parent 1b4f468324
commit c4db3de78a

View file

@ -9,6 +9,7 @@ M.cmd = {
M.keys = {
{ '<leader>F', '<cmd>Format<cr>', desc = '󰉼 Format file' },
{ '<leader>F', "<cmd>'<,'>Format<cr>", mode = 'v', desc = '󰉼 Format file' },
}
M.opts = function( --[[plugin]] _, opts)