と環境変数を設定しておけば \eにてSQLをVimで(シンタックスハイライト付きで)編集出来るようになる。 参考 Quick and dirty Postgres query - Vim Tips Wiki Register as a new user and use Qiita more conveniently You get articles that match your needsYou can efficiently read back useful informationYou can use dark themeWhat you can do with signing up