In the mysql client, \#
rebuilds the completion hash for autocompleting your command, while \e
opens editor $EDITOR
to edit your开发者_运维问答 command.
Is there any way of making use of the completion hash in the invoked editor (Vim in my case)?
Thanks.
You could try vim-addon-sql. I've never used it myself, but it seems like the kind of thing that you're looking for.
精彩评论