Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible get vim keybindings in MySQL Workbench query editor?

I feel totally uncomfortable while typing without vim keybinding. Is it is possible to get vim keybinding in MySQL Workbench query editor?

like image 503
princebillyGK Avatar asked Oct 30 '25 21:10

princebillyGK


1 Answers

I found out there is no easy way to integrate vim with MySQL Workbench. But I found two better ways to use vim for writing MySQL query without any paid software like DataGrip or Jetbrain products.

  1. DBeaver which is a free and opensource application, which is much better than MySQL Workbench in terms of performance and stability. You can use vim within its editor using Vrapper plugin. Here is an instruction of how you can install this plugin: https://shehuawwal.com/installing-vim-extension-module-for-dbeaver-with-vrapper/
  2. Install mycli (best) or MySQL client in your machine and set the default editor as nvim/vim. use \e in command in mysql/mycli prompt to open your preferred editor. save and close the file to run the query you have written in the editor.
like image 198
princebillyGK Avatar answered Nov 01 '25 21:11

princebillyGK