summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-06-18 15:09:00 -0400
committerDax Raad <[email protected]>2025-06-18 15:10:46 -0400
commit3423415e49973d50287b9db8b44835f9af330a28 (patch)
tree1237bc32586fecf7c92c5e9a51fbb77deb4e2eae
parent1d0bfc2b2ac2bad3a646c6adf43aa112d47c3f07 (diff)
downloadopencode-3423415e49973d50287b9db8b44835f9af330a28.tar.gz
opencode-3423415e49973d50287b9db8b44835f9af330a28.zip
docs: improve keybinds configuration format in README
Update keybinds configuration example to use proper TOML table syntax instead of dot notation for better readability and standard TOML formatting. 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <[email protected]>
-rw-r--r--README.md56
1 files changed, 29 insertions, 27 deletions
diff --git a/README.md b/README.md
index 09ddb2675..6e08d7cc0 100644
--- a/README.md
+++ b/README.md
@@ -83,33 +83,35 @@ You can configure the keybinds in the global config file. (Note: values listed b
```toml
# ~/.config/opencode/config
-keybinds.leader = "ctrl+x"
-keybinds.help = "<leader>h"
-keybinds.editor_open = "<leader>e"
-keybinds.session_new = "<leader>n"
-keybinds.session_list = "<leader>l"
-keybinds.session_share = "<leader>s"
-keybinds.session_interrupt = "esc"
-keybinds.session_compact = "<leader>c"
-keybinds.tool_details = "<leader>d"
-keybinds.model_list = "<leader>m"
-keybinds.theme_list = "<leader>t"
-keybinds.project_init = "<leader>i"
-keybinds.input_clear = "ctrl+c"
-keybinds.input_paste = "ctrl+v"
-keybinds.input_submit = "enter"
-keybinds.input_newline = "shift+enter"
-keybinds.history_previous = "up"
-keybinds.history_next = "down"
-keybinds.messages_page_up = "pgup"
-keybinds.messages_page_down = "pgdown"
-keybinds.messages_half_page_up = "ctrl+alt+u"
-keybinds.messages_half_page_down = "ctrl+alt+d"
-keybinds.messages_previous = "ctrl+alt+k"
-keybinds.messages_next = "ctrl+alt+j"
-keybinds.messages_first = "ctrl+g"
-keybinds.messages_last = "ctrl+alt+g"
-keybinds.app_exit = "ctrl+c,<leader>q"
+
+[keybinds]
+leader = "ctrl+x"
+help = "<leader>h"
+editor_open = "<leader>e"
+session_new = "<leader>n"
+session_list = "<leader>l"
+session_share = "<leader>s"
+session_interrupt = "esc"
+session_compact = "<leader>c"
+tool_details = "<leader>d"
+model_list = "<leader>m"
+theme_list = "<leader>t"
+project_init = "<leader>i"
+input_clear = "ctrl+c"
+input_paste = "ctrl+v"
+input_submit = "enter"
+input_newline = "shift+enter"
+history_previous = "up"
+history_next = "down"
+messages_page_up = "pgup"
+messages_page_down = "pgdown"
+messages_half_page_up = "ctrl+alt+u"
+messages_half_page_down = "ctrl+alt+d"
+messages_previous = "ctrl+alt+k"
+messages_next = "ctrl+alt+j"
+messages_first = "ctrl+g"
+messages_last = "ctrl+alt+g"
+app_exit = "ctrl+c,<leader>q"
```
#### Models.dev