From 3423415e49973d50287b9db8b44835f9af330a28 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Wed, 18 Jun 2025 15:09:00 -0400 Subject: [PATCH] docs: improve keybinds configuration format in README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- README.md | 56 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 29 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 09ddb267..6e08d7cc 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 = "h" -keybinds.editor_open = "e" -keybinds.session_new = "n" -keybinds.session_list = "l" -keybinds.session_share = "s" -keybinds.session_interrupt = "esc" -keybinds.session_compact = "c" -keybinds.tool_details = "d" -keybinds.model_list = "m" -keybinds.theme_list = "t" -keybinds.project_init = "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,q" + +[keybinds] +leader = "ctrl+x" +help = "h" +editor_open = "e" +session_new = "n" +session_list = "l" +session_share = "s" +session_interrupt = "esc" +session_compact = "c" +tool_details = "d" +model_list = "m" +theme_list = "t" +project_init = "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,q" ``` #### Models.dev