aboutsummaryrefslogtreecommitdiff
path: root/helix-tui/src
diff options
context:
space:
mode:
authorMichael Davis2023-06-07 14:55:16 +0000
committerBlaž Hrastnik2023-06-07 15:48:25 +0000
commit0e083497a5bf24a51ffe2430dcf3a1cca7ad0f9a (patch)
treeeb7151ec991ad3ea47707e091b507ce221ae0602 /helix-tui/src
parent77e9a22aff13a12cb17d67dbd1bc47aa5d5072f4 (diff)
Persist register selection in pending keymaps
Previously the register selection (via `"`) would be lost in the middle of any key sequence longer than one key. For example, `<space>f` would clear the register selection after the `<space>` making it inaccessible for the `file_picker` command. This behavior does not currently have any effect in the default keymap but might affect custom keymaps. This change aligns the behavior of the register with count. Making this change allows propagating the register to the `command_palette` (see the child commit) or other pickers should we decide to use registers in those in the future. (Interactive global search for example.)
Diffstat (limited to 'helix-tui/src')
0 files changed, 0 insertions, 0 deletions