diff --git a/docs/bonus.md b/docs/bonus.md index 44dc14c..74b3510 100644 --- a/docs/bonus.md +++ b/docs/bonus.md @@ -173,6 +173,131 @@ vscode command `editor.action.codeAction` with `{ "kind": "refactor.extract" }` } ``` +## Move buffers to numbered windows + +By default, ` b` followed by a number changes the tab selected in a window. If you have a +tabless setup, as described in +[Working without Tabs](https://code.visualstudio.com/docs/getstarted/userinterface#_working-without-tabs), +you may want to override these binding with ones that move buffers into different windows, like +in Spacemacs. + +The following example json overrides ` b {n}` to move the active buffer to window `n`. + +```json title="settings.json" +{ + "vspacecode.bindingOverrides": [ + { + "keys": "b.1", + "name": "Move buffer to 1st window", + "type": "command", + "command": "moveActiveEditor", + "args": { + "to": "position", + "by": "group", + "value": 1 + }, + "icon": "move" + }, + { + "keys": "b.2", + "name": "Move buffer to 2nd window", + "type": "command", + "command": "moveActiveEditor", + "args": { + "to": "position", + "by": "group", + "value": 2 + }, + "icon": "move" + }, + { + "keys": "b.3", + "name": "Move buffer to 3rd window", + "type": "command", + "command": "moveActiveEditor", + "args": { + "to": "position", + "by": "group", + "value": 3 + }, + "icon": "move" + }, + { + "keys": "b.4", + "name": "Move buffer to 4th window", + "type": "command", + "command": "moveActiveEditor", + "args": { + "to": "position", + "by": "group", + "value": 4 + }, + "icon": "move" + }, + { + "keys": "b.5", + "name": "Move buffer to 5th window", + "type": "command", + "command": "moveActiveEditor", + "args": { + "to": "position", + "by": "group", + "value": 5 + }, + "icon": "move" + }, + { + "keys": "b.6", + "name": "Move buffer to 6th window", + "type": "command", + "command": "moveActiveEditor", + "args": { + "to": "position", + "by": "group", + "value": 6 + }, + "icon": "move" + }, + { + "keys": "b.7", + "name": "Move buffer to 7th window", + "type": "command", + "command": "moveActiveEditor", + "args": { + "to": "position", + "by": "group", + "value": 7 + }, + "icon": "move" + }, + { + "keys": "b.8", + "name": "Move buffer to 8th window", + "type": "command", + "command": "moveActiveEditor", + "args": { + "to": "position", + "by": "group", + "value": 8 + }, + "icon": "move" + }, + { + "keys": "b.9", + "name": "Move buffer to 9th window", + "type": "command", + "command": "moveActiveEditor", + "args": { + "to": "position", + "by": "group", + "value": 9 + }, + "icon": "move" + } + ] +} +``` + ## Colorize pair brackets VScode 1.60 added built-in support for colorizing pair brackets. diff --git a/docs/default-keybindings.md b/docs/default-keybindings.md index 0d21b6f..b4cc38d 100644 --- a/docs/default-keybindings.md +++ b/docs/default-keybindings.md @@ -290,6 +290,7 @@ Type: conditional | ------------------------------------ | ------------ | ------------------------- | ---------- | | languageId:agda | Agda | [bindings](#agda) | N/A | | languageId:clojure | Clojure | [bindings](#clojure) | N/A | +| languageId:c | C | [bindings](#c) | N/A | | languageId:coq | coq | [bindings](#coq) | N/A | | languageId:cpp | C++ | [bindings](#c) | N/A | | languageId:csharp | C# | [bindings](#c) | N/A | @@ -397,6 +398,10 @@ Type: bindings | ------------------ | ------------------------------------- | ---------------------------- | --------------------------------------------- | | ␣ w - | Split window below | command | `workbench.action.splitEditorDown` | | ␣ w / | Split window right | command | `workbench.action.splitEditor` | +| ␣ w 1 | Single column window layout | command | `workbench.action.editorLayoutSingle` | +| ␣ w 2 | Double column window layout | command | `workbench.action.editorLayoutTwoColumns` | +| ␣ w 3 | Triple column window layout | command | `workbench.action.editorLayoutThreeColumns` | +| ␣ w 4 | Grid window layout | command | `workbench.action.editorLayoutTwoByTwoGrid` | | ␣ w = | Reset window sizes | command | `workbench.action.evenEditorWidths` | | ␣ w [ | Shrink window | [transient](#shrink-window) | `workbench.action.decreaseViewSize` | | ␣ w ] | Enlarge window | [transient](#enlarge-window) | `workbench.action.increaseViewSize` | @@ -507,19 +512,19 @@ Key Binding: ␣ T Type: bindings -| Key Binding | Name | Type | Command(s) | -| ------------------ | ----------------------------------- | ------- | ---------------------------------------------- | -| ␣ T b | Toggle side bar visibility | command | `workbench.action.toggleSidebarVisibility` | -| ␣ T c | Toggle centered layout | command | `workbench.action.toggleCenteredLayout` | -| ␣ T i | Select icon theme | command | `workbench.action.selectIconTheme` | -| ␣ T j | Toggle panel visibility | command | `workbench.action.togglePanel` | -| ␣ T m | Toggle maximized panel | command | `workbench.action.toggleMaximizedPanel` | -| ␣ T s | Select theme | command | `workbench.action.selectTheme` | -| ␣ T t | Toggle tool/activity bar visibility | command | `workbench.action.toggleActivityBarVisibility` | -| ␣ T z | Toggle zen mode | command | `workbench.action.toggleZenMode` | -| ␣ T F | Toggle full screen | command | `workbench.action.toggleFullScreen` | -| ␣ T M | Toggle minimap | command | `editor.action.toggleMinimap` | -| ␣ T T | Toggle tab visibility | command | `workbench.action.toggleTabsVisibility` | +| Key Binding | Name | Type | Command(s) | +| ------------------ | ----------------------------------- | ------------------------------------- | ---------------------------------------------- | +| ␣ T b | Toggle side bar visibility | command | `workbench.action.toggleSidebarVisibility` | +| ␣ T c | Toggle centered layout | command | `workbench.action.toggleCenteredLayout` | +| ␣ T i | Select icon theme | command | `workbench.action.selectIconTheme` | +| ␣ T j | Toggle panel visibility | command | `workbench.action.togglePanel` | +| ␣ T m | Toggle maximized panel | command | `workbench.action.toggleMaximizedPanel` | +| ␣ T s | Select theme | command | `workbench.action.selectTheme` | +| ␣ T t | Toggle tool/activity bar visibility | command | `workbench.action.toggleActivityBarVisibility` | +| ␣ T z | Toggle zen mode | command | `workbench.action.toggleZenMode` | +| ␣ T F | Toggle full screen | command | `workbench.action.toggleFullScreen` | +| ␣ T M | Toggle minimap | command | `editor.action.toggleMinimap` | +| ␣ T T | Toggle tab visibility | [conditional](#toggle-tab-visibility) | N/A | # +New Buffer @@ -690,6 +695,20 @@ Type: bindings | ␣ m languageId:clojure t | +Tests | [bindings](#tests) | N/A | | ␣ m languageId:clojure T | +Toggle | [bindings](#toggle) | N/A | +# C + +Key Binding: ␣ m languageId:c + +Type: bindings + +| Key Binding | Name | Type | Command(s) | +| ------------------------------- | --------- | --------------------- | ---------- | +| ␣ m languageId:c = | +Format | [bindings](#format) | N/A | +| ␣ m languageId:c b | +Backend | [bindings](#backend) | N/A | +| ␣ m languageId:c g | +Go to | [bindings](#go-to) | N/A | +| ␣ m languageId:c r | +Refactor | [bindings](#refactor) | N/A | +| ␣ m languageId:c G | +Peek | [bindings](#peek) | N/A | + # coq Key Binding: ␣ m languageId:coq @@ -760,7 +779,7 @@ Type: bindings | ␣ m languageId:dart A | Attach to process | command | `flutter.attachProcess` | | ␣ m languageId:dart D | Flutter doctor | command | `flutter.doctor` | | ␣ m languageId:dart E | Launch emulator | command | `flutter.launchEmulator` | -| ␣ m languageId:dart P | Profile app | command | `flutter.profileApp` | +| ␣ m languageId:dart P | Profile app | command | `flutter.runProfileMode` | | ␣ m languageId:dart R | Hot restart | command | `flutter.hotRestart` | | ␣ m languageId:dart S | Screenshot | command | `flutter.screenshot` | | ␣ m languageId:dart = | +Format | [bindings](#format) | N/A | @@ -951,14 +970,16 @@ Type: bindings | Key Binding | Name | Type | Command(s) | | ------------------------------------ | ---------------------- | ------------------------- | --------------------------------- | +| ␣ m languageId:quarto ' | Create R Terminal | command | `r.createRTerm` | | ␣ m languageId:quarto d | Debugonce R | command | `r.runCommandWithSelectionOrWord` | | ␣ m languageId:quarto h | Help R | command | `r.helpPanel.openForSelection` | | ␣ m languageId:quarto i | Insert cell | command | `quarto.insertCodeCell` | -| ␣ m languageId:quarto m | Run current cell | command | `quarto.runCurrentCell` | +| ␣ m languageId:quarto m | Create R Terminal | command | `r.createRTerm` | | ␣ m languageId:quarto o | Objects in workspace R | command | `r.runCommand` | -| ␣ m languageId:quarto p | Render | command | `quarto.render` | +| ␣ m languageId:quarto p | Render | command | `quarto.renderDocument` | | ␣ m languageId:quarto s | Run selection | command | `quarto.runSelection` | | ␣ m languageId:quarto R | Restart R | command | `r.runCommand` | +| ␣ m languageId:quarto S | Run current cell | command | `quarto.runCurrentCell` | | ␣ m languageId:quarto = | +Format | [bindings](#format) | N/A | | ␣ m languageId:quarto a | +Code actions | [bindings](#code-actions) | N/A | | ␣ m languageId:quarto f | +Fold | [bindings](#fold) | N/A | @@ -975,14 +996,17 @@ Type: bindings | Key Binding | Name | Type | Command(s) | | ------------------------------- | ---------------------- | ------------------------- | --------------------------------- | +| ␣ m languageId:r ' | Create R Terminal | command | `r.createRTerm` | | ␣ m languageId:r d | Debugonce | command | `r.runCommandWithSelectionOrWord` | | ␣ m languageId:r h | Help | command | `r.helpPanel.openForSelection` | +| ␣ m languageId:r m | Create R Terminal | command | `r.createRTerm` | | ␣ m languageId:r o | Objects in workspace R | command | `r.runCommand` | | ␣ m languageId:r s | Run selection | command | `r.runSelection` | | ␣ m languageId:r R | Restart R | command | `r.runCommand` | | ␣ m languageId:r = | +Format | [bindings](#format) | N/A | | ␣ m languageId:r a | +Code actions | [bindings](#code-actions) | N/A | | ␣ m languageId:r g | +Go to | [bindings](#go-to) | N/A | +| ␣ m languageId:r p | +Package | [bindings](#package) | N/A | | ␣ m languageId:r r | +Refactor | [bindings](#refactor) | N/A | | ␣ m languageId:r v | +View | [bindings](#view) | N/A | | ␣ m languageId:r G | +Peek | [bindings](#peek) | N/A | @@ -1006,14 +1030,15 @@ Key Binding: ␣ m languageId:rust Type: bindings -| Key Binding | Name | Type | Command(s) | -| ---------------------------------- | ------------------ | -------------------- | -------------------------------- | -| ␣ m languageId:rust T | Toggle inlay hints | command | `rust-analyzer.toggleInlayHints` | -| ␣ m languageId:rust = | +Format | [bindings](#format) | N/A | -| ␣ m languageId:rust a | +Actions | [bindings](#actions) | N/A | -| ␣ m languageId:rust b | +Backend | [bindings](#backend) | N/A | -| ␣ m languageId:rust g | +Goto | [bindings](#goto) | N/A | -| ␣ m languageId:rust G | +Peek | [bindings](#peek) | N/A | +| Key Binding | Name | Type | Command(s) | +| ---------------------------------- | ------------------ | --------------------- | -------------------------------- | +| ␣ m languageId:rust T | Toggle inlay hints | command | `rust-analyzer.toggleInlayHints` | +| ␣ m languageId:rust = | +Format | [bindings](#format) | N/A | +| ␣ m languageId:rust a | +Actions | [bindings](#actions) | N/A | +| ␣ m languageId:rust b | +Backend | [bindings](#backend) | N/A | +| ␣ m languageId:rust g | +Goto | [bindings](#goto) | N/A | +| ␣ m languageId:rust r | +Refactor | [bindings](#refactor) | N/A | +| ␣ m languageId:rust G | +Peek | [bindings](#peek) | N/A | # TypeScript @@ -1201,6 +1226,17 @@ Type: bindings | ␣ z . G | Open: all regions | command | `editor.unfoldAllMarkerRegions` | | ␣ z . O | Open: recursively | command | `editor.unfoldRecursively` | +# Toggle tab visibility + +Key Binding: ␣ T T + +Type: conditional + +| Condition | Name | Type | Command(s) | +| ----------------------------------- | ---------------- | ------- | ----------------------------------------- | +| | Show editor tabs | command | `workbench.action.showMultipleEditorTabs` | +| when:editorTabsVisible | Hide editor tabs | command | `workbench.action.hideEditorTabs` | + # Next breakpoint Key Binding: ␣ d b n @@ -1361,6 +1397,72 @@ Type: bindings | --------------------------------------- | --------------------------- | ------- | ------------------------- | | ␣ m languageId:clojure T p | Toggle pretty print results | command | `calva.togglePrettyPrint` | +# +Format + +Key Binding: ␣ m languageId:c = + +Type: bindings + +| Key Binding | Name | Type | Command(s) | +| --------------------------------- | ------------------------------- | ------- | ---------------------------------------- | +| ␣ m languageId:c = = | Format region or buffer | command | `editor.action.format` | +| ␣ m languageId:c = b | Format buffer | command | `editor.action.formatDocument` | +| ␣ m languageId:c = c | Format changes | command | `editor.action.formatChanges` | +| ␣ m languageId:c = s | Format selection | command | `editor.action.formatSelection` | +| ␣ m languageId:c = B | Format buffer with formatter | command | `editor.action.formatDocument.multiple` | +| ␣ m languageId:c = S | Format selection with formatter | command | `editor.action.formatSelection.multiple` | + +# +Backend + +Key Binding: ␣ m languageId:c b + +Type: bindings + +| Key Binding | Name | Type | Command(s) | +| --------------------------------- | ---------------- | ------- | ----------------------- | +| ␣ m languageId:c b d | Reset Database | command | `C_Cpp.ResetDatabase` | +| ␣ m languageId:c b w | Rescan Workspace | command | `C_Cpp.RescanWorkspace` | + +# +Go to + +Key Binding: ␣ m languageId:c g + +Type: bindings + +| Key Binding | Name | Type | Command(s) | +| --------------------------------- | ----------------------- | ------- | ------------------------------------------------- | +| ␣ m languageId:c g a | Switch Header/Source | command | `C_Cpp.SwitchHeaderSource` | +| ␣ m languageId:c g d | Go to declaration | command | `editor.action.revealDeclaration` | +| ␣ m languageId:c g e | Go to errors/problems | command | `workbench.actions.view.problems` | +| ␣ m languageId:c g f | Go to file in explorer | command | `workbench.files.action.showActiveFileInExplorer` | +| ␣ m languageId:c g g | Go to definition | command | `editor.action.revealDefinition` | +| ␣ m languageId:c g r | Go to reference | command | `editor.action.goToReferences` | +| ␣ m languageId:c g s | Go to symbol in buffer | command | `workbench.action.gotoSymbol` | +| ␣ m languageId:c g R | Find references | command | `references-view.findReferences` | +| ␣ m languageId:c g S | Go to symbol in project | command | `workbench.action.showAllSymbols` | + +# +Refactor + +Key Binding: ␣ m languageId:c r + +Type: bindings + +| Key Binding | Name | Type | Command(s) | +| --------------------------------- | ------------- | ------- | ---------------------- | +| ␣ m languageId:c r r | Rename Symbol | command | `editor.action.rename` | + +# +Peek + +Key Binding: ␣ m languageId:c G + +Type: bindings + +| Key Binding | Name | Type | Command(s) | +| --------------------------------- | ---------------- | ------- | --------------------------------------- | +| ␣ m languageId:c G d | Peek declaration | command | `editor.action.peekDeclaration` | +| ␣ m languageId:c G g | Peek definition | command | `editor.action.peekDefinition` | +| ␣ m languageId:c G r | Peek references | command | `editor.action.referenceSearch.trigger` | + # Ask prover Key Binding: ␣ m languageId:coq a @@ -1646,7 +1748,6 @@ Type: bindings | ␣ m languageId:dart o l | DevTools logging | command | `dart.openDevToolsLogging` | | ␣ m languageId:dart o m | DevTools memory | command | `dart.openDevToolsMemory` | | ␣ m languageId:dart o n | DevTools network | command | `dart.openDevToolsNetwork` | -| ␣ m languageId:dart o t | Timeline | command | `flutter.openTimeline` | # +Project/Packages @@ -1681,14 +1782,13 @@ Key Binding: ␣ m languageId:dart t Type: bindings -| Key Binding | Name | Type | Command(s) | -| ------------------------------------ | -------------------- | ------- | ---------------------------------------- | -| ␣ m languageId:dart t c | Clear test results | command | `dart.clearTestResults` | -| ␣ m languageId:dart t d | Debug test at cursor | command | `dart.debugTestAtCursor` | -| ␣ m languageId:dart t f | Run failed tests | command | `dart.runAllFailedTestsWithoutDebugging` | -| ␣ m languageId:dart t r | Run tests | command | `dart.runAllTestsWithoutDebugging` | -| ␣ m languageId:dart t s | Run skipped tests | command | `dart.runAllTestsWithoutDebugging` | -| ␣ m languageId:dart t t | Run test at cursor | command | `dart.runTestAtCursor` | +| Key Binding | Name | Type | Command(s) | +| ------------------------------------ | -------------------- | ------- | --------------------------- | +| ␣ m languageId:dart t c | Clear test results | command | `testing.clearTestResults` | +| ␣ m languageId:dart t d | Debug test at cursor | command | `testing.debugTestAtCursor` | +| ␣ m languageId:dart t f | Run failed tests | command | `testing.reRunFailTests` | +| ␣ m languageId:dart t r | Run tests | command | `testing.runAll` | +| ␣ m languageId:dart t t | Run test at cursor | command | `testing.runTestAtCursor` | # +Peek @@ -2551,6 +2651,7 @@ Type: bindings | Key Binding | Name | Type | Command(s) | | -------------------------------------- | ------------- | ------- | ------------------------ | | ␣ m languageId:python r . | Refactor menu | command | `editor.action.refactor` | +| ␣ m languageId:python r r | Rename symbol | command | `editor.action.rename` | | ␣ m languageId:python r I | Sort imports | command | `python.sortImports` | # +REPL @@ -2735,6 +2836,20 @@ Type: bindings | ␣ m languageId:r g R | Find references | command | `references-view.findReferences` | | ␣ m languageId:r g S | Go to symbol in project | command | `workbench.action.showAllSymbols` | +# +Package + +Key Binding: ␣ m languageId:r p + +Type: bindings + +| Key Binding | Name | Type | Command(s) | +| --------------------------------- | ------------------ | ------- | -------------- | +| ␣ m languageId:r p c | Check | command | `r.check` | +| ␣ m languageId:r p d | Document | command | `r.document` | +| ␣ m languageId:r p l | Load All | command | `r.loadAll` | +| ␣ m languageId:r p p | pgkdown build site | command | `r.runCommand` | +| ␣ m languageId:r p t | Test | command | `r.test` | + # +Refactor Key Binding: ␣ m languageId:r r @@ -2884,6 +2999,17 @@ Type: bindings | ␣ m languageId:rust g R | Find references | command | `references-view.findReferences` | | ␣ m languageId:rust g S | Go to symbol in project | command | `workbench.action.showAllSymbols` | +# +Refactor + +Key Binding: ␣ m languageId:rust r + +Type: bindings + +| Key Binding | Name | Type | Command(s) | +| ------------------------------------ | ------------- | ------- | ------------------------ | +| ␣ m languageId:rust r . | Refactor menu | command | `editor.action.refactor` | +| ␣ m languageId:rust r r | Rename symbol | command | `editor.action.rename` | + # +Peek Key Binding: ␣ m languageId:rust G @@ -3042,9 +3168,9 @@ Key Binding: ␣ m languageId:clojure r a Type: bindings -| Key Binding | Name | Type | Command(s) | -| ----------------------------------------- | --------------------------------- | ------- | ---------------------------------- | -| ␣ m languageId:clojure r a l | Add missing library specification | command | `calva.refactor.addMissingLibspec` | +| Key Binding | Name | Type | Command(s) | +| ----------------------------------------- | --------------------------------- | ------- | --------------------------------------- | +| ␣ m languageId:clojure r a l | Add missing library specification | command | `clojureLsp.refactor.addMissingLibspec` | # +Cycle clean convert @@ -3052,10 +3178,10 @@ Key Binding: ␣ m languageId:clojure r c Type: bindings -| Key Binding | Name | Type | Command(s) | -| ----------------------------------------- | -------------------------- | ------- | ----------------------------- | -| ␣ m languageId:clojure r c n | Clean namespace definition | command | `calva.refactor.cleanNs` | -| ␣ m languageId:clojure r c p | Cycle privacy | command | `calva.refactor.cyclePrivacy` | +| Key Binding | Name | Type | Command(s) | +| ----------------------------------------- | -------------------------- | ------- | ---------------------------------- | +| ␣ m languageId:clojure r c n | Clean namespace definition | command | `clojureLsp.refactor.cleanNs` | +| ␣ m languageId:clojure r c p | Cycle privacy | command | `clojureLsp.refactor.cyclePrivacy` | # +Extract expand @@ -3063,10 +3189,10 @@ Key Binding: ␣ m languageId:clojure r e Type: bindings -| Key Binding | Name | Type | Command(s) | -| ----------------------------------------- | ---------------- | ------- | -------------------------------- | -| ␣ m languageId:clojure r e f | Extract function | command | `calva.refactor.extractFunction` | -| ␣ m languageId:clojure r e l | Expand let | command | `calva.refactor.expandLet` | +| Key Binding | Name | Type | Command(s) | +| ----------------------------------------- | ---------------- | ------- | ------------------------------------- | +| ␣ m languageId:clojure r e f | Extract function | command | `clojureLsp.refactor.extractFunction` | +| ␣ m languageId:clojure r e l | Expand let | command | `clojureLsp.refactor.expandLet` | # +Introduce inline @@ -3074,10 +3200,10 @@ Key Binding: ␣ m languageId:clojure r i Type: bindings -| Key Binding | Name | Type | Command(s) | -| ----------------------------------------- | ------------- | ------- | ----------------------------- | -| ␣ m languageId:clojure r i l | Introduce let | command | `calva.refactor.introduceLet` | -| ␣ m languageId:clojure r i s | Inline symbol | command | `calva.refactor.inlineSymbol` | +| Key Binding | Name | Type | Command(s) | +| ----------------------------------------- | ------------- | ------- | ---------------------------------- | +| ␣ m languageId:clojure r i l | Introduce let | command | `clojureLsp.refactor.introduceLet` | +| ␣ m languageId:clojure r i s | Inline symbol | command | `clojureLsp.refactor.inlineSymbol` | # +Move @@ -3085,9 +3211,9 @@ Key Binding: ␣ m languageId:clojure r m Type: bindings -| Key Binding | Name | Type | Command(s) | -| ----------------------------------------- | ----------- | ------- | -------------------------- | -| ␣ m languageId:clojure r m l | Move to let | command | `calva.refactor.moveToLet` | +| Key Binding | Name | Type | Command(s) | +| ----------------------------------------- | ----------- | ------- | ------------------------------- | +| ␣ m languageId:clojure r m l | Move to let | command | `clojureLsp.refactor.moveToLet` | # +Thread macros @@ -3095,14 +3221,14 @@ Key Binding: ␣ m languageId:clojure r t Type: bindings -| Key Binding | Name | Type | Command(s) | -| ----------------------------------------- | ----------------- | ------- | ------------------------------- | -| ␣ m languageId:clojure r t f | Thread first | command | `calva.refactor.threadFirst` | -| ␣ m languageId:clojure r t l | Thread last | command | `calva.refactor.threadLast` | -| ␣ m languageId:clojure r t u | Unwind thread | command | `calva.refactor.unwindThread` | -| ␣ m languageId:clojure r t F | Thread first all | command | `calva.refactor.threadFirstAll` | -| ␣ m languageId:clojure r t L | Thread last all | command | `calva.refactor.threadLastAll` | -| ␣ m languageId:clojure r t U | Unwind thread all | command | `calva.refactor.unwindThread` | +| Key Binding | Name | Type | Command(s) | +| ----------------------------------------- | ----------------- | ------- | ------------------------------------ | +| ␣ m languageId:clojure r t f | Thread first | command | `clojureLsp.refactor.threadFirst` | +| ␣ m languageId:clojure r t l | Thread last | command | `clojureLsp.refactor.threadLast` | +| ␣ m languageId:clojure r t u | Unwind thread | command | `clojureLsp.refactor.unwindThread` | +| ␣ m languageId:clojure r t F | Thread first all | command | `clojureLsp.refactor.threadFirstAll` | +| ␣ m languageId:clojure r t L | Thread last all | command | `clojureLsp.refactor.threadLastAll` | +| ␣ m languageId:clojure r t U | Unwind thread all | command | `clojureLsp.refactor.unwindThread` | # +Create diff --git a/docs/installation.md b/docs/installation.md index 9f7b67b..4c8c306 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -43,3 +43,16 @@ The following commands can be accessed through command palette to rerun the auto [settings]: https://github.com/VSpaceCode/VSpaceCode/blob/master/src/configuration/settings.jsonc [keybindings]: https://github.com/VSpaceCode/VSpaceCode/blob/master/src/configuration/keybindings.jsonc + +## For vscode-neovim users + +After installing the extension, you only need to update `keybindings.json`, `settings.json` doesn't need to be updated. +After using the command `VSpaceCode: Configure Default Keybindings`, update `keybindings.json` to complete the initial configuration: + +```json + { + "key": "space", + "command": "vspacecode.space", + "when": "editorTextFocus && neovim.mode == normal" + }, +``` diff --git a/docs/whichkey/usage.md b/docs/whichkey/usage.md index 4680b22..b951c67 100644 --- a/docs/whichkey/usage.md +++ b/docs/whichkey/usage.md @@ -216,7 +216,7 @@ This is suitable for a large menu that might take a bit of time to load. ```javascript commands.executeCommand("whichkey.register", { bindings: ["myExtension", "bindings"], - overrides: ["myExtension", "bindingOveArrides"], + overrides: ["myExtension", "bindingOverrides"], title: "My menu" }); ``` diff --git a/src/pages/index.js b/src/pages/index.js index bd0938e..040c484 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -75,14 +75,6 @@ function Home() { > Get Started -