You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
quit_key="q", -- Key to quit floating windows (default: "q")
62
62
output_format="json", -- Output format (default: "json")
63
-
window= { -- Floating window configuration
63
+
window= { -- Configuration for the display window
64
+
type="float", -- Type of window: "float", "vertical", or "horizontal" (default: "float")
64
65
width_ratio=0.7, -- Window width as ratio of screen width (default: 0.7)
65
66
height_ratio=0.7, -- Window height as ratio of screen height (default: 0.7)
66
67
max_width=240, -- Maximum window width in columns (default: 240)
@@ -89,6 +90,36 @@ The `:AskCode` command automatically detects whether to start a new conversation
89
90
90
91
**Note**: Code replacement only works in visual mode with selected text.
91
92
93
+
### Configuration Management
94
+
95
+
You can get and set configuration values at runtime using the `:AskCodeConfig` command:
96
+
97
+
**Get a configuration value:**
98
+
```vim
99
+
:AskCodeConfig agent
100
+
:AskCodeConfig window.type
101
+
```
102
+
103
+
**Set a configuration value:**
104
+
```vim
105
+
:AskCodeConfig agent amazonq
106
+
:AskCodeConfig window.type vertical
107
+
:AskCodeConfig window.width_ratio 0.8
108
+
:AskCodeConfig debug true
109
+
```
110
+
111
+
The command supports tab completion for all available configuration keys. Values are automatically converted to the appropriate type (booleans, numbers, strings).
0 commit comments