ESC Key
Daniel
xracoonx at gmx.de
Sun Jan 22 12:44:10 UTC 2023
On 2023-01-22 10:25, Evan Langlois wrote:
> Is there some way to reconfigure LyX to not have ESC cancel a dialog or
> at least ask me first? I tried to remove the keybinding for esc in the
> preferences, but that didn't help. The issue is that I use vi, so when
> editing the preamble my hand just hits the esc key to save out of
> habit. All my changes are then gone without a "Hey you changed stuff!
> Are you sure?"
I don't think there is a way. And I am not sure it is a common enough
case to allow for a preference or so.
But it sounds like you would be satisfied with LyX asking whether to
discard changes made to the preamble before cancelling the dialog. I
think that is generally a good idea. After all, it is like editing your
document where we also don't just let the user close the window without
asking.
Daniel
More information about the lyx-devel
mailing list