Improved keys property for Comment.vim (#2144)

pull/2145/head
georgejean 11 months ago committed by GitHub
parent 11c839f870
commit 212bb9a66f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -201,10 +201,10 @@ local default_plugins = {
{
"numToStr/Comment.nvim",
keys = {
{ "gcc", mode = "n" },
{ "gc", mode = "v" },
{ "gbc", mode = "n" },
{ "gb", mode = "v" },
{ "gcc", mode = "n" , desc = "Toggles the current line using linewise comment"},
{ "gc", mode = {"n","o","x"} , desc = "Toggles the region using linewise comment"},
{ "gbc", mode = "n" , desc = "Toggles the current line using blockwise comment"},
{ "gb", mode = {"n","o","x"} , desc = "Toggles the region using blockwise comment"},
},
init = function()
require("core.utils").load_mappings "comment"

Loading…
Cancel
Save