update comment toggle mappings (#658)
This commit is contained in:
parent
f718060260
commit
1cd5150b70
1 changed files with 2 additions and 2 deletions
|
@ -124,8 +124,8 @@ end
|
||||||
|
|
||||||
M.comment = function()
|
M.comment = function()
|
||||||
local m = plugin_maps.comment.toggle
|
local m = plugin_maps.comment.toggle
|
||||||
map("n", m, ":lua require('Comment.api').toggle()<CR>")
|
map("n", m, ":lua require('Comment.api').toggle_current_linewise()<CR>")
|
||||||
map("v", m, ":lua require('Comment.api').gc(vim.fn.visualmode())<CR>")
|
map("v", m, ":lua require('Comment.api').toggle_linewise_op(vim.fn.visualmode())<CR>")
|
||||||
end
|
end
|
||||||
|
|
||||||
M.dashboard = function()
|
M.dashboard = function()
|
||||||
|
|
Loading…
Reference in a new issue