vim: add keymap to run formatter in visual mode
This commit is contained in:
parent
1b4f468324
commit
c4db3de78a
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ M.cmd = {
|
||||||
|
|
||||||
M.keys = {
|
M.keys = {
|
||||||
{ '<leader>F', '<cmd>Format<cr>', desc = ' Format file' },
|
{ '<leader>F', '<cmd>Format<cr>', desc = ' Format file' },
|
||||||
|
{ '<leader>F', "<cmd>'<,'>Format<cr>", mode = 'v', desc = ' Format file' },
|
||||||
}
|
}
|
||||||
|
|
||||||
M.opts = function( --[[plugin]] _, opts)
|
M.opts = function( --[[plugin]] _, opts)
|
||||||
|
|
Loading…
Add table
Reference in a new issue