From ec1f37d52d491d731b8b3463d8704102256a30ca Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Fri, 12 Jan 2018 10:41:14 +0100 Subject: [PATCH] Some update --- email/.config/msmtp/config | 14 ++++++++------ email/.config/offlineimap/config | 2 +- email/.mutt/mailcap | 2 +- email/.mutt/muttrc | 3 ++- shell/.bashrc | 2 +- vim/.vim/after/ftplugin/clean.vim | 2 ++ vim/.vim/after/ftplugin/tex.vim | 9 +++++++++ vim/.vim/ftplugin/plaintex.vim | 1 + vim/.vim/ftplugin/tex.vim | 3 --- vim/.vim/pack/plugins/start/vimtex | 2 +- vim/.vimrc | 3 --- 11 files changed, 26 insertions(+), 17 deletions(-) create mode 100644 vim/.vim/after/ftplugin/clean.vim create mode 100644 vim/.vim/after/ftplugin/tex.vim create mode 100644 vim/.vim/ftplugin/plaintex.vim delete mode 100644 vim/.vim/ftplugin/tex.vim diff --git a/email/.config/msmtp/config b/email/.config/msmtp/config index 887ed28..1bd1a72 100644 --- a/email/.config/msmtp/config +++ b/email/.config/msmtp/config @@ -3,7 +3,7 @@ host lubbers.email port 587 auth on tls on -tls_fingerprint 80:C8:64:F1:E4:E4:5F:4B:61:BF:DB:0D:52:D3:98:E2:03:E8:06:4B:6A:0B:4B:D2:FE:F5:79:7B:6C:85:43:A8 +tls_fingerprint 04:89:EE:5E:B3:16:43:D7:48:4C:A3:4B:1A:16:68:3F:01:61:A4:E7:6A:4D:54:28:5A:E1:AD:88:62:65:3A:CD user mart@martlubbers.net passwordeval pass mail/mart@martlubbers.net proxy_host localhost @@ -11,11 +11,13 @@ proxy_port 8008 from mart@martlubbers.net account ru -host smtp-auth.ru.nl +host smtp.science.ru.nl port 587 auth on tls on -tls_fingerprint 51:BF:85:89:55:26:F6:73:4D:77:C7:0E:FA:B1:8E:A0:8C:64:BB:8D:21:B9:11:D6:3B:E1:AA:44:8C:DF:93:E0 -user s4109503 -passwordeval pass mail/mart.lubbers@student.ru.nl -from mart.lubbers@student.ru.nl +tls_fingerprint 1F:1D:F5:62:FC:9B:D4:BE:77:30:B1:F4:DB:24:49:F8:21:DD:6F:FC:08:1E:4A:78:0B:AC:C4:B4:FA:8E:A4:10 +user mlubbers +passwordeval pass science.ru.nl/mlubbers +from m.lubbers@cs.ru.nl +proxy_host localhost +proxy_port 8008 diff --git a/email/.config/offlineimap/config b/email/.config/offlineimap/config index 0fd5652..4eb871c 100644 --- a/email/.config/offlineimap/config +++ b/email/.config/offlineimap/config @@ -8,7 +8,7 @@ ui = quiet localrepository = Local remoterepository = Remote postsynchook = notmuch new -#proxy = SOCKS5:localhost:8008 +proxy = SOCKS5:localhost:8008 [Repository Local] type = Maildir diff --git a/email/.mutt/mailcap b/email/.mutt/mailcap index 8f502d4..e8892f5 100644 --- a/email/.mutt/mailcap +++ b/email/.mutt/mailcap @@ -1,5 +1,5 @@ # Fork off a process -application/pdf; gv %s; +application/pdf; evince %s; text/html; firefox -new-tab %s & sleep 5; # Open document formats diff --git a/email/.mutt/muttrc b/email/.mutt/muttrc index 701f965..44ab8af 100644 --- a/email/.mutt/muttrc +++ b/email/.mutt/muttrc @@ -16,7 +16,8 @@ set send_charset="us-ascii:utf-8" macro index,pager $ "offlineimap &" "Force refresh" macro attach B "firefox \"data:text/html;base64,$(base64 -w 0 <&0)\"" send2-hook "~f mart@martlubbers.net" "set sendmail=\"msmtp -C /home/mrl/.config/msmtp/config -a net\"" -send2-hook "~f mart.lubbers@student.ru.nl" "set sendmail=\"msmtp -C /home/mrl/.config/msmtp/config -a ru\"" +send2-hook "~f m.lubbers@cs.ru.nl" "set sendmail=\"msmtp -C /home/mrl/.config/msmtp/config -a ru\"" +send2-hook "~f m.lubbers@science.ru.nl" "set sendmail=\"msmtp -C /home/mrl/.config/msmtp/config -a ru\"" #folder-hook . push "~=$" diff --git a/shell/.bashrc b/shell/.bashrc index 03aef50..d5e443b 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -19,7 +19,7 @@ export CLEAN_HOME=/opt/clean export PATH=~/.local/bin:$PATH export PATH=$PATH:$CLEAN_HOME/lib/exe:$CLEAN_HOME/bin export PATH=$PATH:~/projects/esp-open-sdk/xtensa-lx106-elf/bin -export PATH=$PATH:/opt/texlive/2017/bin/x86_64-linux:/opt/zotero +export PATH=$PATH:/opt/texlive/bin/x86_64-linux:/opt/zotero export GTK_IM_MODULE=xim export QT_IM_MODULE=xim diff --git a/vim/.vim/after/ftplugin/clean.vim b/vim/.vim/after/ftplugin/clean.vim new file mode 100644 index 0000000..0f43883 --- /dev/null +++ b/vim/.vim/after/ftplugin/clean.vim @@ -0,0 +1,2 @@ +setlocal tags+=/opt/clean/lib/tags +set statusline+=%{cleanvim#tags#statusline()} diff --git a/vim/.vim/after/ftplugin/tex.vim b/vim/.vim/after/ftplugin/tex.vim new file mode 100644 index 0000000..978ea51 --- /dev/null +++ b/vim/.vim/after/ftplugin/tex.vim @@ -0,0 +1,9 @@ +setlocal wrap +setlocal tw=0 +setlocal colorcolumn=0 + +" Vimtex options +let g:vimtex_compiler_enabled = 0 +let g:vimtex_toc_enabled = 1 +let g:vimtex_toc_help = 0 +let g:vimtex_toc_refresh_always = 1 diff --git a/vim/.vim/ftplugin/plaintex.vim b/vim/.vim/ftplugin/plaintex.vim new file mode 100644 index 0000000..2aa1973 --- /dev/null +++ b/vim/.vim/ftplugin/plaintex.vim @@ -0,0 +1 @@ +set ft=tex diff --git a/vim/.vim/ftplugin/tex.vim b/vim/.vim/ftplugin/tex.vim deleted file mode 100644 index e4b82c2..0000000 --- a/vim/.vim/ftplugin/tex.vim +++ /dev/null @@ -1,3 +0,0 @@ -setlocal wrap -setlocal tw=0 -setlocal colorcolumn=0 diff --git a/vim/.vim/pack/plugins/start/vimtex b/vim/.vim/pack/plugins/start/vimtex index edbf710..995bbd7 160000 --- a/vim/.vim/pack/plugins/start/vimtex +++ b/vim/.vim/pack/plugins/start/vimtex @@ -1 +1 @@ -Subproject commit edbf71069b3b0ff3d04bf78626ab6a8b6037e064 +Subproject commit 995bbd729a6a42e92188859e0013b5476fc5ad01 diff --git a/vim/.vimrc b/vim/.vimrc index 6740250..794c49c 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -67,6 +67,3 @@ let g:syntastic_always_populate_loc_list = 1 let g:syntastic_auto_loc_list = 1 let g:syntastic_check_on_open = 0 let g:syntastic_check_on_wq = 0 - -" Vimtex options -let g:vimtex_compiler_enabled = 0 -- 2.20.1