Explorar el Código

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]>
Dax Raad hace 8 meses
padre
commit
3423415e49
Se han modificado 1 ficheros con 29 adiciones y 27 borrados
  1. 29 27
      README.md

+ 29 - 27
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