# HG changeset patch # User Steve Losh # Date 1581567037 18000 # Node ID a20cd97bae84ba139c54bf07926bf7fcba049112 # Parent 61707f342104bbf670cf69f89bf7ec1f887a86a3 More diff -r 61707f342104 -r a20cd97bae84 gnuplot --- a/gnuplot Sun Feb 09 18:09:14 2020 -0500 +++ b/gnuplot Wed Feb 12 23:10:37 2020 -0500 @@ -11,16 +11,16 @@ set palette defined (0 '#fef0d9', 1 '#fdcc8a', 2 '#fc8d59', 3 '#d7301f') -set linetype 1 linewidth 2 pointtype 7 ps 1.0 linecolor rgb '#1f78b4' -set linetype 2 linewidth 2 pointtype 5 ps 1.0 linecolor rgb '#33a02c' -set linetype 3 linewidth 2 pointtype 9 ps 1.4 linecolor rgb '#e31a1c' -set linetype 4 linewidth 2 pointtype 7 ps 1.0 linecolor rgb '#ff7f00' -set linetype 5 linewidth 2 pointtype 5 ps 1.0 linecolor rgb '#6a3d9a' -set linetype 6 linewidth 2 pointtype 9 ps 1.4 linecolor rgb '#a6cee3' -set linetype 7 linewidth 2 pointtype 7 ps 1.0 linecolor rgb '#b2df8a' -set linetype 8 linewidth 2 pointtype 5 ps 1.0 linecolor rgb '#fb9a99' -set linetype 9 linewidth 2 pointtype 9 ps 1.4 linecolor rgb '#fdbf6f' -set linetype 10 linewidth 2 pointtype 7 ps 1.0 linecolor rgb '#cab2d6' +set linetype 1 linewidth 1.5 pointtype 7 ps 1.0 linecolor rgb '#1f78b4' +set linetype 2 linewidth 1.5 pointtype 5 ps 1.0 linecolor rgb '#33a02c' +set linetype 3 linewidth 1.5 pointtype 9 ps 1.4 linecolor rgb '#e31a1c' +set linetype 4 linewidth 1.5 pointtype 7 ps 1.0 linecolor rgb '#ff7f00' +set linetype 5 linewidth 1.5 pointtype 5 ps 1.0 linecolor rgb '#6a3d9a' +set linetype 6 linewidth 1.5 pointtype 9 ps 1.4 linecolor rgb '#a6cee3' +set linetype 7 linewidth 1.5 pointtype 7 ps 1.0 linecolor rgb '#b2df8a' +set linetype 8 linewidth 1.5 pointtype 5 ps 1.0 linecolor rgb '#fb9a99' +set linetype 9 linewidth 1.5 pointtype 9 ps 1.4 linecolor rgb '#fdbf6f' +set linetype 10 linewidth 1.5 pointtype 7 ps 1.0 linecolor rgb '#cab2d6' unset linetype 11 unset linetype 12 diff -r 61707f342104 -r a20cd97bae84 vim/vimrc --- a/vim/vimrc Sun Feb 09 18:09:14 2020 -0500 +++ b/vim/vimrc Wed Feb 12 23:10:37 2020 -0500 @@ -451,7 +451,7 @@ command! -bang Wqa wqa " Unfuck my screen -nnoremap U :syntax sync fromstart:redraw! +nnoremap u :syntax sync fromstart:redraw! " Pushing nnoremap Go :Start! git push origin @@ -491,6 +491,9 @@ nnoremap ]Z ]Sz= nnoremap [Z [Sz= +" Upcase +nnoremap U gUiww + " Insert Mode Completion {{{ inoremap @@ -1795,8 +1798,21 @@ au FileType pgsql set softtabstop=2 shiftwidth=2 au FileType pgsql setlocal commentstring=--\ %s comments=:-- - " kill pager with q - au FileType pgsql nnoremap q :call SendToTmuxRaw("q") + " Set up some basic neorepl mappings. + " + " key desc mnemonic + " \o - connect neorepl [o]pen repl + " \l - send current line [l]ine + " \e - send current hunk [e]val + " \f - send entire file [r]eload file + " \c - send ctrl-l [c]lear + + au FileType pgsql nnoremap o :call NeoReplOpenFish() + au FileType pgsql nnoremap l :call NeoReplSendCurrentLine() + au FileType pgsql nnoremap e :call NeoReplSendParagraph() + au FileType pgsql nnoremap f :call NeoReplSendEntireFile() + au FileType pgsql nnoremap c :call NeoReplSendRaw(" ") + augroup END " }}} @@ -2199,10 +2215,6 @@ vnoremap H :Gbrowse nnoremap H V:Gbrowse -" "(Upstream) Hub" -vnoremap u :Gbrowse @upstream -nnoremap u V:Gbrowse @upstream - " }}} " Go {{{ @@ -2280,6 +2292,14 @@ call SelectAndSendToNeoRepl("^vg_") endfunction "}}} +function! NeoReplSendParagraph() "{{{ + call SelectAndSendToNeoRepl("^Vap") +endfunction "}}} + +function! NeoReplOpenFish() "{{{ + NeoRepl fish +endfunction "}}} + " }}} " NERD Tree {{{