Add sql connect to connect to saved sql connection

This commit is contained in:
Michael Hauser-Raspe 2019-07-11 13:59:22 +01:00 committed by duianto
parent cc43d5c898
commit ae7139612b
3 changed files with 10 additions and 6 deletions

View File

@ -2455,6 +2455,8 @@ Other:
line =insert state=
- ~SPC m s L~ Send the current line to the SQLi buffer and move to the next
line and switch to it in =insert state=
- Added key binding (thanks to Michael Hauser-Raspe):
~SPC m b c~ connect to a SQLi buffer from your saved buffer list
**** Spell-checking
- Added spell checking transient state (thanks to Francesc Elies Henar)
- Update to flyspell-correct v0.5 (thanks to Boris Buliga)

View File

@ -107,12 +107,13 @@ auto-indent by setting the variable =sql-auto-indent= to =nil=.
** Inferior Process Interactions (SQLi)
| Key binding | Description |
|-------------+-----------------------------|
| ~SPC m b b~ | show the SQLi buffer name |
| ~SPC m b s~ | set the SQLi buffer |
| ~SPC m l a~ | List all objects |
| ~SPC m l t~ | list all objects in a table |
| Key binding | Description |
|-------------+------------------------------------------------------|
| ~SPC m b b~ | show the SQLi buffer name |
| ~SPC m b c~ | connect to a SQLi buffer from your saved buffer list |
| ~SPC m b s~ | set the SQLi buffer |
| ~SPC m l a~ | List all objects |
| ~SPC m l t~ | list all objects in a table |
*** Send SQL queries to SQLi:

View File

@ -138,6 +138,7 @@
;; sqli buffer
"bb" 'sql-show-sqli-buffer
"bc" 'sql-connect
"bs" 'sql-set-sqli-buffer
;; dialects