ocelot-inc / ocelotgui

GUI client for MySQL or MariaDB, including debugger
GNU General Public License v2.0
62 stars 15 forks source link

save multi connect info.+ need emacs keybinding. #5

Open cathemlin opened 7 years ago

cathemlin commented 7 years ago

I like this tools and hope it will increase new features

pgulutzan commented 7 years ago

Thank you for your kind words and for clicking the GitHub "star" button.

Regarding the requests ...

If "multi connect info" means "Save changes done in Settings or Options menus so they're there on the next Connect", that is possible now by putting the SET statements in a file and executing them, or by editing a .cnf file -- the example in https://github.com/ocelot-inc/ocelotgui/blob/master/example.cnf.

If "Emacs keybinding" means "Allow SET Ctrl Esc = Backspace" etc., that is, change the mappings of Ctrl and Alt and special keys so they do something else ... that's not hard (although doing all the other Emacs capability would be hard). This will be labelled Enhancement and we'll have to think about the most appropriate command-line syntax or dialog box.

pgulutzan commented 7 years ago

In source pushed today, things like this are allowed: SET ocelot_shortcut_exit = 'Alt+F5'; Any menu shortcut can be changed, up to four keys are allowed, or 'default'. Or a change in a configuration file such as .my.cnf is allowed, e.g. ocelot_short_exit = 'Ctrl+Shift+L' To see the list of shortcut names, see example.cnf.