# HG changeset patch # User Steve Losh # Date 1580486949 18000 # Node ID 2a7f613576bc5065e52a8684a50f87b7fa8cf019 # Parent d3f648295e4f32c131f59d1d78ad31b3c113fc85# Parent d4732eec7b9d696a5db1521506efba590a3f6b9a Merge. diff -r d4732eec7b9d -r 2a7f613576bc psqlrc --- a/psqlrc Thu Jan 30 19:56:39 2020 -0500 +++ b/psqlrc Fri Jan 31 11:09:09 2020 -0500 @@ -7,3 +7,6 @@ \set PROMPT1 '%[%033[1;34m%]%M:%> %n@%/%R%#%x%[%033[0m%] ' \timing + +\setenv PAGER less +\setenv LESS -iS diff -r d4732eec7b9d -r 2a7f613576bc vim/vimrc --- a/vim/vimrc Thu Jan 30 19:56:39 2020 -0500 +++ b/vim/vimrc Fri Jan 31 11:09:09 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=:--