sqltabs icon indicating copy to clipboard operation
sqltabs copied to clipboard

keyboard shortcut for running queries conflicts with CTRL-R in vim mode

Open PeteW opened this issue 6 years ago • 1 comments

First of all thank you for this wonderfully well built minimalist client. Even with this issue I really like the philosophy and structure of the app.

When using VIM-mode editor, CTRL+R is bound to REDO which in turn conflicts with "database->run script". The end result is vim wins the conflict and there is no keyboard shortcut for running a script.

The same thing would happen for CTRL+E (scroll window down in vim) CTRL+I, CTRL+L CTRL+H where vim would take over.

The only alternatives I see are:

  1. disable vim shortcuts (such that sqltabs wins the conflict)
  2. change the sqltabs shortcuts for everyone
  3. change the sqltabs shortcuts when in vim mode

not sure what you prefer but I'll keep using the app either way and hope you have an opinion

PeteW avatar Jul 25 '18 20:07 PeteW

Hi thanks for the comment. I agree, for linux/windows the layout is not perfect, at mac there is a CMD key used instead of CTRL, so no conflict in there. I'm not quite experienced with PC keyboard layouts, so feel free to propose other keyboard shortcuts which wouldn't conflict with existing ones as well as with VIM mode.

sasha-alias avatar Aug 07 '18 07:08 sasha-alias