d3f648295e4f
PSQL updates
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Fri, 31 Jan 2020 11:09:07 -0500 |
parents | f92e74e96687 |
children | 2a7f613576bc |
branches/tags | (none) |
files | psqlrc vim/vimrc |
Changes
--- a/psqlrc Sun Jan 26 17:32:54 2020 -0500 +++ b/psqlrc Fri Jan 31 11:09:07 2020 -0500 @@ -7,3 +7,6 @@ \set PROMPT1 '%[%033[1;34m%]%M:%> %n@%/%R%#%x%[%033[0m%] ' \timing + +\setenv PAGER less +\setenv LESS -iS
--- a/vim/vimrc Sun Jan 26 17:32:54 2020 -0500 +++ b/vim/vimrc Fri Jan 31 11:09:07 2020 -0500 @@ -1790,7 +1790,7 @@ au BufNewFile,BufRead *.sql set filetype=pgsql au BufNewFile,BufRead *.pgsql set filetype=pgsql - au FileType pgsql set foldmethod=indent + au FileType pgsql set foldmethod=marker foldmarker=\ $$,$$\ au FileType pgsql set softtabstop=2 shiftwidth=2 au FileType pgsql setlocal commentstring=--\ %s comments=:--