It confuses me a little. I am trying to edit a query using \epostgres, but after saving :wqnothing happens. The launch \p, which shows that the editor has saved, just appears an empty line or everything that I started recently in Kli. It seems that the editor is not saved.
I use vim as my default editor and I am on psql version 9.5.4. OSX operating system and I use iterm2. The only similar problem that I could find on the Internet was here , and no advice there helped.
All ideas are welcome!
EDIT: Found a problem. It had something to do with my vim - everything worked when I set up my editor on Pico, so I exposed my vimrc and slowly re-read it. Oddly enough, when everything was again, he continued to work. So check if it works with another editor!
source
share