mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
chore: format code
This commit is contained in:
parent
e271852bc3
commit
fad5cbe6c7
2 changed files with 298 additions and 1 deletions
|
|
@ -948,6 +948,138 @@ export type KeybindsConfig = {
|
|||
* Insert newline in input
|
||||
*/
|
||||
input_newline?: string
|
||||
/**
|
||||
* Move cursor left in input
|
||||
*/
|
||||
input_move_left?: string
|
||||
/**
|
||||
* Move cursor right in input
|
||||
*/
|
||||
input_move_right?: string
|
||||
/**
|
||||
* Move cursor up in input
|
||||
*/
|
||||
input_move_up?: string
|
||||
/**
|
||||
* Move cursor down in input
|
||||
*/
|
||||
input_move_down?: string
|
||||
/**
|
||||
* Select left in input
|
||||
*/
|
||||
input_select_left?: string
|
||||
/**
|
||||
* Select right in input
|
||||
*/
|
||||
input_select_right?: string
|
||||
/**
|
||||
* Select up in input
|
||||
*/
|
||||
input_select_up?: string
|
||||
/**
|
||||
* Select down in input
|
||||
*/
|
||||
input_select_down?: string
|
||||
/**
|
||||
* Move to start of line in input
|
||||
*/
|
||||
input_line_home?: string
|
||||
/**
|
||||
* Move to end of line in input
|
||||
*/
|
||||
input_line_end?: string
|
||||
/**
|
||||
* Select to start of line in input
|
||||
*/
|
||||
input_select_line_home?: string
|
||||
/**
|
||||
* Select to end of line in input
|
||||
*/
|
||||
input_select_line_end?: string
|
||||
/**
|
||||
* Move to start of visual line in input
|
||||
*/
|
||||
input_visual_line_home?: string
|
||||
/**
|
||||
* Move to end of visual line in input
|
||||
*/
|
||||
input_visual_line_end?: string
|
||||
/**
|
||||
* Select to start of visual line in input
|
||||
*/
|
||||
input_select_visual_line_home?: string
|
||||
/**
|
||||
* Select to end of visual line in input
|
||||
*/
|
||||
input_select_visual_line_end?: string
|
||||
/**
|
||||
* Move to start of buffer in input
|
||||
*/
|
||||
input_buffer_home?: string
|
||||
/**
|
||||
* Move to end of buffer in input
|
||||
*/
|
||||
input_buffer_end?: string
|
||||
/**
|
||||
* Select to start of buffer in input
|
||||
*/
|
||||
input_select_buffer_home?: string
|
||||
/**
|
||||
* Select to end of buffer in input
|
||||
*/
|
||||
input_select_buffer_end?: string
|
||||
/**
|
||||
* Delete line in input
|
||||
*/
|
||||
input_delete_line?: string
|
||||
/**
|
||||
* Delete to end of line in input
|
||||
*/
|
||||
input_delete_to_line_end?: string
|
||||
/**
|
||||
* Delete to start of line in input
|
||||
*/
|
||||
input_delete_to_line_start?: string
|
||||
/**
|
||||
* Backspace in input
|
||||
*/
|
||||
input_backspace?: string
|
||||
/**
|
||||
* Delete character in input
|
||||
*/
|
||||
input_delete?: string
|
||||
/**
|
||||
* Undo in input
|
||||
*/
|
||||
input_undo?: string
|
||||
/**
|
||||
* Redo in input
|
||||
*/
|
||||
input_redo?: string
|
||||
/**
|
||||
* Move word forward in input
|
||||
*/
|
||||
input_word_forward?: string
|
||||
/**
|
||||
* Move word backward in input
|
||||
*/
|
||||
input_word_backward?: string
|
||||
/**
|
||||
* Select word forward in input
|
||||
*/
|
||||
input_select_word_forward?: string
|
||||
/**
|
||||
* Select word backward in input
|
||||
*/
|
||||
input_select_word_backward?: string
|
||||
/**
|
||||
* Delete word forward in input
|
||||
*/
|
||||
input_delete_word_forward?: string
|
||||
/**
|
||||
* Delete word backward in input
|
||||
*/
|
||||
input_delete_word_backward?: string
|
||||
/**
|
||||
* Previous history item
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -7203,7 +7203,172 @@
|
|||
},
|
||||
"input_newline": {
|
||||
"description": "Insert newline in input",
|
||||
"default": "shift+return,ctrl+j",
|
||||
"default": "shift+return,ctrl+return,alt+return,ctrl+j",
|
||||
"type": "string"
|
||||
},
|
||||
"input_move_left": {
|
||||
"description": "Move cursor left in input",
|
||||
"default": "left,ctrl+b",
|
||||
"type": "string"
|
||||
},
|
||||
"input_move_right": {
|
||||
"description": "Move cursor right in input",
|
||||
"default": "right,ctrl+f",
|
||||
"type": "string"
|
||||
},
|
||||
"input_move_up": {
|
||||
"description": "Move cursor up in input",
|
||||
"default": "up",
|
||||
"type": "string"
|
||||
},
|
||||
"input_move_down": {
|
||||
"description": "Move cursor down in input",
|
||||
"default": "down",
|
||||
"type": "string"
|
||||
},
|
||||
"input_select_left": {
|
||||
"description": "Select left in input",
|
||||
"default": "shift+left",
|
||||
"type": "string"
|
||||
},
|
||||
"input_select_right": {
|
||||
"description": "Select right in input",
|
||||
"default": "shift+right",
|
||||
"type": "string"
|
||||
},
|
||||
"input_select_up": {
|
||||
"description": "Select up in input",
|
||||
"default": "shift+up",
|
||||
"type": "string"
|
||||
},
|
||||
"input_select_down": {
|
||||
"description": "Select down in input",
|
||||
"default": "shift+down",
|
||||
"type": "string"
|
||||
},
|
||||
"input_line_home": {
|
||||
"description": "Move to start of line in input",
|
||||
"default": "ctrl+a",
|
||||
"type": "string"
|
||||
},
|
||||
"input_line_end": {
|
||||
"description": "Move to end of line in input",
|
||||
"default": "ctrl+e",
|
||||
"type": "string"
|
||||
},
|
||||
"input_select_line_home": {
|
||||
"description": "Select to start of line in input",
|
||||
"default": "none",
|
||||
"type": "string"
|
||||
},
|
||||
"input_select_line_end": {
|
||||
"description": "Select to end of line in input",
|
||||
"default": "none",
|
||||
"type": "string"
|
||||
},
|
||||
"input_visual_line_home": {
|
||||
"description": "Move to start of visual line in input",
|
||||
"default": "none",
|
||||
"type": "string"
|
||||
},
|
||||
"input_visual_line_end": {
|
||||
"description": "Move to end of visual line in input",
|
||||
"default": "none",
|
||||
"type": "string"
|
||||
},
|
||||
"input_select_visual_line_home": {
|
||||
"description": "Select to start of visual line in input",
|
||||
"default": "none",
|
||||
"type": "string"
|
||||
},
|
||||
"input_select_visual_line_end": {
|
||||
"description": "Select to end of visual line in input",
|
||||
"default": "none",
|
||||
"type": "string"
|
||||
},
|
||||
"input_buffer_home": {
|
||||
"description": "Move to start of buffer in input",
|
||||
"default": "home",
|
||||
"type": "string"
|
||||
},
|
||||
"input_buffer_end": {
|
||||
"description": "Move to end of buffer in input",
|
||||
"default": "end",
|
||||
"type": "string"
|
||||
},
|
||||
"input_select_buffer_home": {
|
||||
"description": "Select to start of buffer in input",
|
||||
"default": "shift+home",
|
||||
"type": "string"
|
||||
},
|
||||
"input_select_buffer_end": {
|
||||
"description": "Select to end of buffer in input",
|
||||
"default": "shift+end",
|
||||
"type": "string"
|
||||
},
|
||||
"input_delete_line": {
|
||||
"description": "Delete line in input",
|
||||
"default": "alt+d",
|
||||
"type": "string"
|
||||
},
|
||||
"input_delete_to_line_end": {
|
||||
"description": "Delete to end of line in input",
|
||||
"default": "ctrl+k",
|
||||
"type": "string"
|
||||
},
|
||||
"input_delete_to_line_start": {
|
||||
"description": "Delete to start of line in input",
|
||||
"default": "ctrl+u",
|
||||
"type": "string"
|
||||
},
|
||||
"input_backspace": {
|
||||
"description": "Backspace in input",
|
||||
"default": "backspace,shift+backspace",
|
||||
"type": "string"
|
||||
},
|
||||
"input_delete": {
|
||||
"description": "Delete character in input",
|
||||
"default": "delete,shift+delete",
|
||||
"type": "string"
|
||||
},
|
||||
"input_undo": {
|
||||
"description": "Undo in input",
|
||||
"default": "ctrl+-,cmd+z",
|
||||
"type": "string"
|
||||
},
|
||||
"input_redo": {
|
||||
"description": "Redo in input",
|
||||
"default": "ctrl+.,cmd+shift+z",
|
||||
"type": "string"
|
||||
},
|
||||
"input_word_forward": {
|
||||
"description": "Move word forward in input",
|
||||
"default": "alt+f,alt+right",
|
||||
"type": "string"
|
||||
},
|
||||
"input_word_backward": {
|
||||
"description": "Move word backward in input",
|
||||
"default": "alt+b,alt+left",
|
||||
"type": "string"
|
||||
},
|
||||
"input_select_word_forward": {
|
||||
"description": "Select word forward in input",
|
||||
"default": "alt+shift+f,alt+shift+right",
|
||||
"type": "string"
|
||||
},
|
||||
"input_select_word_backward": {
|
||||
"description": "Select word backward in input",
|
||||
"default": "alt+shift+b,alt+shift+left",
|
||||
"type": "string"
|
||||
},
|
||||
"input_delete_word_forward": {
|
||||
"description": "Delete word forward in input",
|
||||
"default": "ctrl+d",
|
||||
"type": "string"
|
||||
},
|
||||
"input_delete_word_backward": {
|
||||
"description": "Delete word backward in input",
|
||||
"default": "ctrl+w,alt+backspace",
|
||||
"type": "string"
|
||||
},
|
||||
"history_previous": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue