Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.

CTRL+Y Redo

mrforsythexeter's profile image mrforsythexeter posted 9 years ago in Feature discussion Permalink
I notice CTRL+Z works for undo in the Query, even though your shortcut is ALT+BckSpace. Is CTRL+Y (redo) disabled, or just not easy to turn on.
kelye's profile image kelye posted 9 years ago Permalink
+1

And what's the intended behavior of CTRL + W ?
Usually it closes the tab, in Heidi just clears the tab.
ansgar's profile image ansgar posted 9 years ago Permalink
Ctrl+W clears a tab. If it's not the first, static tab, the tab is also closed.

Shortcuts can be customized in Tools > Preferences > Shortcuts.
Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.
kelye's profile image kelye posted 9 years ago Permalink
well... then in 6.0.0.3621 there is a bug... no tabs are closed, only flushed

if someone can confirm this i will submit a bug report
ansgar's profile image ansgar posted 9 years ago Permalink
Oh sorry, I mixed it up - Ctrl+W never closes any tab. Double click on a tab does that. This is intentionally, not some bug.
kelye's profile image kelye posted 9 years ago Permalink
a lot of applications close the tab on Ctrl+W ... maybe a poll on that behavior ? :)

And i found the shortcut for 'undo' but nothing on 'redo'
pionect's profile image pionect posted 6 years ago Permalink
I'm also missing CTRL - Y for redo.
In most programs this redoes the last action and in HeidiSQL it seems to delete a single line.
ansgar's profile image ansgar posted 6 years ago Permalink
You can watch out and edit shortcuts for HeidiSQL's query editors, in Tools > Preferences > Shortcuts > "SQL editing"
pionect's profile image pionect posted 6 years ago Permalink
Thanks a lot!
Revolt's profile image Revolt posted 5 years ago Permalink
I get an error saying that CTRL+Y is already used, but it isn't! Why are the shortcuts SO messed up?
Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.
m.lohse's profile image m.lohse posted 5 years ago Permalink
I could set "redo" to CTRL+Y but I did not get a message that this shortcut is already used for "delete line". So CTRL+Y still deleted the line and didn't redo. When I change "delete line" to another shortcut of course it works but at the moment the check if shortcut is already set doesn't seem to work.
pionect's profile image pionect posted 5 years ago Permalink


It still wasn't able to change the shortcuts.
I just noticed that 'Redo' is twice in the list with shortcuts.
Could that be the issue?
cduprez's profile image cduprez posted 5 years ago Permalink
Hi,

I am facing the same problem trying to customize "Upper Case Block" with Ctrl+U shortcut and "Lower Case Block" with Ctrl+Shift+U shortcut.
I get a message saying that the shortcut SynEdit "Ctrl+U" to ecUpperCaseBlock is not possible because shortcut already exists.
I looked at every shortcut and Ctrl+U is not used.

What can I do to customize theses shortcuts ?

Regards,
Cedric
humbads's profile image humbads posted 3 years ago Permalink

Here is how I got Ctrl+Y keyboard shortcut for HeidiSQL 9.3.0.4984 mapped to Undo.

  1. Go to Tools > Preferences > Shortcuts > SQL Editing
  2. Select the first "Undo" command and click in the "Shortcut" box. Press "Ctrl" twice, and it will change to "(None)".
  3. Do the same with the first "Redo" command.
  4. Go to the second "Undo" command and set the Shortcut to "Ctrl+Z"
  5. Go to the second "Redo" command set the Shortcut to "Ctrl+Y"
  6. Click "Apply" button

You should not see any errors in the message log, like "Could not apply SynEdit keystroke shortcut "Ctrl+Y" (or secondary: "") to ecRedo. Shortcut already exists.".

Go to a query window and test.

Enjoy! Shailesh

humbads's profile image humbads posted 3 years ago Permalink

BTW, Ctrl+Y by default is mapped to "Delete Line"! Map that to "Ctrl+Shift+Del" instead, just like my favorite text editor, Textpad.

yodalearn13's profile image yodalearn13 posted 1 year ago Permalink

CTRL + Y

Or

CTRL + SHIFT + Z

Both works same but it all depend on the application or the software which shortcut work there.

Please login to leave a reply, or register at first.