13 MySQL命令行界面使用readline编辑命令行。 创建~/.inputrc具有以下内容的文件以使用vi模式: $if mysql set editing-mode vi $endif 当然,如果要在所有bash使用readline的应用程序(包括)中使用vi模式,则可以省略$if&$endif ...行... — JanC source