소스 검색

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"
 }