diff options
-rw-r--r-- | latexmkrc | 1 | ||||
-rw-r--r-- | mutt/cache/headers | bin | 0 -> 529920 bytes | |||
-rw-r--r-- | mutt/mailboxes | 2 | ||||
-rw-r--r-- | mutt/muttrc | 3 | ||||
-rw-r--r-- | vim/vimrc | 22 | ||||
-rw-r--r-- | zshrc | 27 |
6 files changed, 20 insertions, 35 deletions
@@ -1,2 +1,3 @@ $pdf_mode = 1; $pdf_previewer = 'zathura -s -x "vim --servername SYNCTEX --remote +%{line} %{input}" %O %S'; +$banner_message ["DRAFT"] diff --git a/mutt/cache/headers b/mutt/cache/headers Binary files differnew file mode 100644 index 0000000..dbb9286 --- /dev/null +++ b/mutt/cache/headers diff --git a/mutt/mailboxes b/mutt/mailboxes index d259b41..9e64508 100644 --- a/mutt/mailboxes +++ b/mutt/mailboxes @@ -1 +1 @@ -mailboxes "+Gmail/Gmail" "+Hotmail/Hotmail" "+Imperial/Imperial" "+Main/Drafts" "+Main/Main" "+Main/Sent" +mailboxes "+Hotmail/Hotmail" "+Main/Drafts" "+Main/Main" "+Main/Sent" "+Gmail/Gmail" "+Imperial/Imperial" diff --git a/mutt/muttrc b/mutt/muttrc index 00ceec1..71d5d84 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -77,8 +77,9 @@ set sort = threads set sort_aux = reverse-last-date-received set sort_browser = reverse-date -# Colorscheme for inside mutt +# Files to source source `sh /home/urbain/.mutt/colormutt` +source ~/.mutt/alias # HTML messages auto_view text/html @@ -53,7 +53,7 @@ let g:LatexBox_quickfix=2 function! SynctexShow() let synctex = glob("*.synctex.gz") if strlen(synctex) == 0 - echo "no synctex file found" + echom "no synctex file found" else let pdffile = substitute(synctex,"synctex.gz","pdf","") let execline = printf(":!zathura --synctex-forward %d:%d:%s %s", line('.'), col('.'), shellescape(bufname("%")), shellescape(pdffile)) @@ -100,7 +100,7 @@ set tabstop=4 set softtabstop=4 set shiftwidth=4 set autoindent -set breakindent +" set breakindent " set cindent " Folds @@ -143,7 +143,6 @@ set textwidth=0 set conceallevel=2 set guifont=Monaco\ 11 - " Case and spell set nospell set smartcase @@ -164,8 +163,6 @@ function! UpdateColorscheme() set background=dark endif - echom - hi Cursor guifg=white guibg=blue hi iCursor guifg=black guibg=green hi! link conceal normal @@ -222,23 +219,8 @@ vnoremap g^ ^ nmap <buffer> <F2> <Plug>LatexChangeEnv let g:tex_fast="" -" Synctex -function! LatexEvinceSearch() - execute "!cd " . LatexBox_GetTexRoot() . '; evince_vim_dbus.py EVINCE "`basename ' . LatexBox_GetOutputFile(). '`" ' . line('.') . ' "%:p"' -endfun - -command! LatexEvinceSearch call LatexEvinceSearch() - -autocmd FileType tex map <F6> :silent LatexEvinceSearch <Return> autocmd Filetype tex call SetTexOptions() - -"" Functions -function! Tex_ForwardSearchLaTeX() - let cmd = 'evince_forward_search ' . fnamemodify(LatexBox_GetMainTexFile(), ":p:r") . '.pdf ' . line(".") . ' ' . expand("%:p") - let output = system(cmd) -endfunction - function! SetTexOptions() inoremap (( \left( @@ -39,9 +39,10 @@ alias -s py=vim # Directories alias u='cd ~/Dropbox/phd' alias uc='cd ~/Dropbox/phd/programs' -alias up='cd ~/Dropbox/phd/presentations' +alias up='cd ~/Dropbox/phd/papers' alias ul='cd ~/Dropbox/phd/literature' alias ur='cd ~/Dropbox/phd/reports' +alias us='cd ~/Dropbox/phd/presentations' alias cdd='cd ~/dotfiles' # Commands @@ -77,18 +78,18 @@ bindkey -a 'k' history-beginning-search-backward bindkey -a 'j' history-beginning-search-forward # Colorscheme -sleep 2 -h=`date +%H` -if [ $h -lt 9 ]; then - xdotool key Alt+t p Down Right Return - eval `dircolors ~/.solarized/dircolors-solarized/dircolors.ansi-dark` -elif [ $h -lt 17 ]; then - xdotool key Alt+t p Down Down Right Return - eval `dircolors ~/.solarized/dircolors-solarized/dircolors.ansi-light` -else - xdotool key Alt+t p Down Right Return - eval `dircolors ~/.solarized/dircolors-solarized/dircolors.ansi-dark` -fi +# sleep 2 +# h=`date +%H` +# if [ $h -lt 9 ]; then +# xdotool key Alt+t p Down Right Return +# eval `dircolors ~/.solarized/dircolors-solarized/dircolors.ansi-dark` +# elif [ $h -lt 17 ]; then +# xdotool key Alt+t p Down Down Right Return +# eval `dircolors ~/.solarized/dircolors-solarized/dircolors.ansi-light` +# else +# xdotool key Alt+t p Down Right Return +# eval `dircolors ~/.solarized/dircolors-solarized/dircolors.ansi-dark` +# fi # Crontab jobs crontab ~/dotfiles/crontab |