chore(vscode): set keybinding default to vscode-style. (#302)
parent
3c8455077e
commit
ec73728825
|
|
@ -2,8 +2,7 @@
|
|||
|
||||
## Basic Usage
|
||||
|
||||
Tabby will show inline suggestions when you stop typing.
|
||||
You can accept press `Tab` to accept by line, `Ctrl +Tab` key to accept full suggestion, or `Ctrl + RightArrow` to accept single word.
|
||||
Tabby will show inline suggestions when you stop typing, and you can accept suggestions by just pressing the `Tab` key.
|
||||
|
||||

|
||||
|
||||
|
|
@ -15,7 +14,7 @@ When multiple choices are available, you can cycle through them by pressing `Alt
|
|||
|
||||
You can select a keybinding profile in the [settings](command:tabby.openSettings), or customize your own [keybindings](command:tabby.openKeybindings).
|
||||
|
||||
| | Accept Full Completion | Accept Next Word | Accept Next Line |
|
||||
| -------------: | :--------------------: | :---------------: | :--------------: |
|
||||
| _tabby-style_ | Ctrl + Tab | Ctrl + RightArrow | Tab |
|
||||
| _vscode-style_ | Tab | Ctrl + RightArrow | - |
|
||||
| | Next Line | Full Completion | Next Word |
|
||||
| :--------------------------------- | :-------- | :-------------- | :---------------- |
|
||||
| _vscode-style_ | - | Tab | Ctrl + RightArrow |
|
||||
| _tabby-style_<br/>_(experimental)_ | Tab | Ctrl + Tab | Ctrl + RightArrow |
|
||||
|
|
|
|||
|
|
@ -124,11 +124,11 @@
|
|||
"tabby.keybindings": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"tabby-style",
|
||||
"vscode-style"
|
||||
"vscode-style",
|
||||
"tabby-style"
|
||||
],
|
||||
"default": "tabby-style",
|
||||
"markdownDescription": "Select keybinding profile to accept current inline completion. \n | | Accept Full Completion | Accept Next Word | Accept Next Line | \n |---:|:--:|:--:|:--:| \n | _tabby-style_ | Ctrl + Tab | Ctrl + RightArrow | Tab | \n | _vscode-style_ | Tab | Ctrl + RightArrow | - | \n "
|
||||
"default": "vscode-style",
|
||||
"markdownDescription": "Select keybinding profile to accept current inline completion. \n | | Next Line | Full Completion | Next Word | \n |:---:|:---:|:---:|:---:| \n | _vscode-style_ | - | Tab | Ctrl + RightArrow | \n | _tabby-style_ <br/> _(experimental)_ | Tab | Ctrl + Tab | Ctrl + RightArrow | \n"
|
||||
},
|
||||
"tabby.usage.anonymousUsageTracking": {
|
||||
"type": "boolean",
|
||||
|
|
|
|||
|
|
@ -28,8 +28,6 @@ export function agent(): TabbyAgent {
|
|||
|
||||
export async function createAgentInstance(context: ExtensionContext): Promise<TabbyAgent> {
|
||||
if (!instance) {
|
||||
// NOTE: env.appHost will be "desktop" when running target "Run Web Extension in VS Code"
|
||||
// To test data store in the web extension, run target "Run Web Extension in Browser"
|
||||
const extensionDataStore: DataStore = {
|
||||
data: {},
|
||||
load: async function () {
|
||||
|
|
|
|||
Loading…
Reference in New Issue