You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
undo inline conflicts with mac keyboard shortcut #167633
except since mac North America does not have an option key the alt is the replacement and on vscode for Mac the setting I have (which I think is the default since I haven't changed any keybindings) has "control+shift+left" as "shrink select" so it does that instead of the undo. Therefore another key binding is probably better but I do like the fill line and undo are mirrored.
Sorry yes I didn't provide other options. ctrl+right switches screens on my mac so maybe option+right/option+left? Not sure what the default is for other keyboards but on mine it doesn't seem like option+right/option+left is an important feature. I would also say after observing more keybindings "control+shift+left" is one of the less useful features in terms of all these keybindings for moving the curser and selecting text with key press (I didn't realize all the combos of control, shift, option, arrow keys all have functionality on my keyboard currently). I think "control+shift+left" could work but would it be possible to have the undo line take precedence over the "shrink selection"? For example if I wanted to use this feature I would be surprised one of the key bindings does something different and might not know where to go to change it to "undo" or that I had that power.
Activity
hediet commentedon Nov 30, 2022
Thanks for trying out the feature! What keybinding pair do you suggest?
What about ctrl+right/ctrl+left?
eleanorjboyd commentedon Nov 30, 2022
Sorry yes I didn't provide other options. ctrl+right switches screens on my mac so maybe option+right/option+left? Not sure what the default is for other keyboards but on mine it doesn't seem like option+right/option+left is an important feature. I would also say after observing more keybindings "control+shift+left" is one of the less useful features in terms of all these keybindings for moving the curser and selecting text with key press (I didn't realize all the combos of control, shift, option, arrow keys all have functionality on my keyboard currently). I think "control+shift+left" could work but would it be possible to have the undo line take precedence over the "shrink selection"? For example if I wanted to use this feature I would be surprised one of the key bindings does something different and might not know where to go to change it to "undo" or that I had that power.
hediet commentedon Dec 2, 2022
Undo would still be Ctrl+Z, but when there is an inline completion, it would also be available as option+right (which is the current favorite).
hediet commentedon Dec 2, 2022
Closing in favor of #167927.