@churivibhav/reqex 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -40,7 +40,7 @@ reqex opens a three-pane layout:
40
40
 
41
41
  Use **Tab** / **Shift+Tab** to move between panes, or **Ctrl+1**, **Ctrl+2**, **Ctrl+3** to jump directly. Press **F11** or **z** to zoom the focused pane.
42
42
 
43
- Press **F1** or **?** anytime for in-app quick help. Press **Ctrl+/** for the full keybinding list.
43
+ Press **F1** anytime for in-app quick help. Press **Ctrl+/** for the full keybinding list.
44
44
 
45
45
  ## HTTP files
46
46
 
@@ -91,7 +91,7 @@ After a request completes, the response pane shows several tabs:
91
91
  | **Variables** | Variables set by the request |
92
92
  | **Tests** | Test assertion results |
93
93
 
94
- Use **Ctrl+Tab** / **Ctrl+Shift+Tab** to cycle tabs, or click a tab header. Copy the visible tab with **Ctrl+Shift+C**.
94
+ Use **Ctrl+Tab** / **Ctrl+Shift+Tab** to cycle tabs, or click a tab header. Copy the visible tab with **Ctrl+Shift+C**. In the Pretty tab, use **Ctrl+[** to fold or unfold the JSON node under the cursor and **Ctrl+]** to unfold everything.
95
95
 
96
96
  ## Environments
97
97
 
@@ -125,6 +125,27 @@ Example — remap send to **Ctrl+Return** only and use the vim pane preset:
125
125
 
126
126
  Changes are picked up automatically while reqex is running.
127
127
 
128
+ ### Theme
129
+
130
+ reqex supports light and dark themes. By default it auto-detects your terminal background (via OSC 11) and picks a matching theme.
131
+
132
+ Configure in:
133
+
134
+ - **User config:** `~/.config/reqex/config.json` (Linux), `~/Library/Application Support/reqex/config.json` (macOS), or `%APPDATA%\reqex\config.json` (Windows)
135
+ - **Project config:** `.reqex/config.json` in your workspace (overrides user settings)
136
+
137
+ Set `REQEX_THEME` to override both files (`auto`, `light`, or `dark`).
138
+
139
+ Example — force light theme:
140
+
141
+ ```json
142
+ {
143
+ "theme": "light"
144
+ }
145
+ ```
146
+
147
+ Changes are picked up automatically while reqex is running.
148
+
128
149
  ### Common shortcuts
129
150
 
130
151
  | Key | Action |
@@ -139,9 +160,11 @@ Changes are picked up automatically while reqex is running.
139
160
  | `Ctrl+Shift+P` / `F2` | Command palette |
140
161
  | `Ctrl+Shift+C` | Copy response tab |
141
162
  | `Ctrl+F` | Search in response |
163
+ | `Ctrl+[` | Fold/unfold JSON node in Pretty response |
164
+ | `Ctrl+]` | Unfold all Pretty response JSON |
142
165
  | `Tab` / `Shift+Tab` | Cycle panes |
143
166
  | `Ctrl+1/2/3` | Jump to Files / Editor / Response |
144
- | `F1` / `?` | Quick help |
167
+ | `F1` | Quick help |
145
168
  | `Ctrl+/` | Full keybindings list |
146
169
  | `F11` / `z` | Zoom pane |
147
170
  | `Ctrl+Q` | Quit |