Commit 3af0c0c
committed
feat: add paste SSH command feature with 'v' keybinding
- Add 'v' keybinding to paste and parse SSH commands from clipboard
- Parse SSH command using the new SSH parser
- Auto-generate unique alias if duplicate detected
- Open server form in Add mode with parsed data
- Update UI components to show 'v' keybinding:
- Hint bar: Add 'v' to keybinding hints
- Status bar: Add 'v' Paste SSH to navigation help
- Server details: Add 'v' to commands list
- Support for clipboard integration via github.com/atotto/clipboard
- Add getExistingAliases helper to retrieve all current aliases1 parent d20c552 commit 3af0c0c
File tree
5 files changed
+57
-5
lines changed- internal/adapters/ui
5 files changed
+57
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
| 172 | + | |
171 | 173 | | |
172 | 174 | | |
173 | 175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
125 | 128 | | |
126 | 129 | | |
127 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
128 | 162 | | |
129 | 163 | | |
130 | 164 | | |
| |||
186 | 220 | | |
187 | 221 | | |
188 | 222 | | |
189 | | - | |
| 223 | + | |
| 224 | + | |
190 | 225 | | |
191 | 226 | | |
192 | 227 | | |
| |||
196 | 231 | | |
197 | 232 | | |
198 | 233 | | |
199 | | - | |
| 234 | + | |
| 235 | + | |
200 | 236 | | |
201 | 237 | | |
202 | 238 | | |
| |||
234 | 270 | | |
235 | 271 | | |
236 | 272 | | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
237 | 287 | | |
238 | 288 | | |
239 | 289 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments