Bind Ctrl-/ (CtrlUnderscore) in comment plugin

This commit is contained in:
Zachary Yedidia
2020-06-18 17:18:34 -04:00
parent f5dc0a51ba
commit 891b117a33
3 changed files with 13 additions and 10 deletions

View File

@@ -143,5 +143,6 @@ end
function init()
config.MakeCommand("comment", comment, config.NoComplete)
config.TryBindKey("Alt-/", "lua:comment.comment", false)
config.TryBindKey("CtrlUnderscore", "lua:comment.comment", false)
config.AddRuntimeFile("comment", config.RTHelp, "help/comment.md")
end