Execute by replacing keyboard-defined syntax!!
I need a feature that allows me to define statements in advance and execute them by pressing a shortcut key after selecting a block of code.
For example, define the following statements as shortcut keys:
Ctrl + F1: select * from $1 limit 1000;
Ctrl + 1: call usp_table('$1');
Ctrl + 2: call usp_index('$1');
Ctrl + 3: call usp_text('$1');
I would like a feature in the editor where, if I select a table block and press a shortcut key, the part corresponding to "$1" is replaced and automatically executed.
3
votes