Commit 620b710
committed
Emulate entering vim popup, more like Neovim float
This updates the behaviour when Vim popup is enabled to work more like
Neovim floating windows or the preview window. Entering a vim popup is
emulated by initially disabling popup keymaps, and only enabling them
once the popup is marked as "entered", which means the default behaviour
is now almost identical for Vim popup, Neovim float and preview window.
Running :GitMessenger opens the Vim popup, running it again enables the
keymaps so you can navigate within the popup, running it again closes
the popup, and g:git_messenger_always_into_popup is also respected.1 parent 051465e commit 620b710
File tree
3 files changed
+21
-3
lines changed- autoload/gitmessenger
- doc
3 files changed
+21
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
269 | 271 | | |
270 | 272 | | |
271 | 273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
177 | 182 | | |
178 | 183 | | |
179 | 184 | | |
| |||
286 | 291 | | |
287 | 292 | | |
288 | 293 | | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
289 | 299 | | |
290 | 300 | | |
291 | 301 | | |
| |||
493 | 503 | | |
494 | 504 | | |
495 | 505 | | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
496 | 509 | | |
497 | 510 | | |
498 | 511 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
305 | | - | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
306 | 309 | | |
307 | 310 | | |
308 | 311 | | |
| |||
0 commit comments