浏览代码

feat: bind ctrl-g to goto command

Verified Ctrl-g goto prompt, Ctrl-q comment toggle, Ctrl-l delete line, Ctrl-d/Alt-d multi-cursor cycle, and Ctrl-w quit in scratch buffer.
cere 2 月之前
父节点
当前提交
d061584a18
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      bindings.json

+ 2 - 1
bindings.json

@@ -1,9 +1,10 @@
 {
     "Alt-/": "lua:comment.comment",
     "Alt-d": "RemoveMultiCursor",
+    "Ctrl-d": "SpawnMultiCursor",
+    "Ctrl-g": "command-edit:goto ",
     "Ctrl-l": "DeleteLine",
     "Ctrl-q": "lua:comment.comment",
     "Ctrl-w": "Quit",
-    "Ctrl-d": "SpawnMultiCursor",
     "CtrlUnderscore": "lua:comment.comment"
 }