Guest User

Untitled

a guest
Dec 6th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. $ PGUSER=postgres PGPASSWORD=pass PGHOST=127.0.0.1 PGDATABASE=dbname vim job.sql
  2. [enter]
  3.  
  4. :w !psql
  5.  
  6. echo 'map <F5> :w !psql<CR>' >>~/.vimrc
Add Comment
Please, Sign In to add comment