-
Notifications
You must be signed in to change notification settings - Fork 321
Description
possibly related issue #1666
related configuration:
keymap = {
-- ...
['<Tab>'] = { 'snippet_forward', 'fallback' },
['<S-Tab>'] = { 'snippet_backward', 'fallback' },
--- ...
},When I choose a snippet in the completion menu, replace the fields from the snippet I want, and then go on to edit other things, the snippet will hang around as open.
This means that after accepting a snippet and editing it as required, I then go to edit more text somewhere else in the file, hit tab to enter a tab character and then it instead jumps me alllllll the way back to where the last snippet I accepted was.
Would there be a way to tell blink that I am done with said snippet after my cursor moves outside of the snippet's line range?
Obviously the workaround to do for now would be to just use a different key so that it interrupts a less important action, but this still would apply to any key I do choose.
If you don't wish to change the behavior of snippet_forward or adding options for more generally making keys bound to their area, adding a bounded_snippet_forward and bounded_snippet_backward would be enough?