diff options
author | Urbain Vaes <urbain@vaes.uk> | 2016-02-12 23:56:59 +0000 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2016-02-12 23:56:59 +0000 |
commit | f9683d4ed9c48748378ca9a93e11eddb28b6ff3f (patch) | |
tree | d0b297ad068391aa6eb9412b108cfcb9f6943817 | |
parent | c7cde0bf5b20dd39a274752ef4cb766272cdcade (diff) | |
parent | 142628de91fb3620a08101da1abe17c12c7f0c32 (diff) |
Merge branch 'master' of urbainvaes.com:git/dotfiles
-rw-r--r-- | .Xresources/base | 4 | ||||
-rw-r--r-- | .Xresources/default | 5 | ||||
-rw-r--r-- | .gitconfig | 2 | ||||
-rw-r--r-- | .mail.sieve (renamed from mail.sieve) | 0 | ||||
-rw-r--r-- | .mutt/mailboxes.offlineimap | 1 | ||||
-rw-r--r-- | .mutt/muttrc | 1 | ||||
-rw-r--r-- | .mutt/signature | 2 | ||||
-rw-r--r-- | .vim/after/ftplugin/tex/folding.vim | 0 | ||||
-rw-r--r-- | .vim/after/ftplugin/tex/mappings.vim | 23 | ||||
-rw-r--r-- | .vim/after/syntax/cpp.vim | 3 | ||||
-rw-r--r-- | .vim/after/syntax/cpp.vim~ | 0 | ||||
-rw-r--r-- | .vim/after/syntax/tex.vim | 6 | ||||
-rw-r--r-- | .vim/after/syntax/tex.vim~ | 6 | ||||
-rw-r--r-- | .vim/colors/mine.vim | 29 | ||||
l--------- | .vim/init.vim | 1 | ||||
-rw-r--r-- | .vim/vimrc | 5 | ||||
-rwxr-xr-x | .xinitrc | 2 | ||||
-rwxr-xr-x | bin/facebook | 7 |
18 files changed, 27 insertions, 70 deletions
diff --git a/.Xresources/base b/.Xresources/base index c931db8..3b86714 100644 --- a/.Xresources/base +++ b/.Xresources/base @@ -27,7 +27,3 @@ URxvt.keysym.M-p: perl:clipboard:paste URxvt*font: xft:DejaVu Sans Mono:size=12 URxvt*scrollBar: false URxvt*internalBorder: 0 - -! True transparency -! URxvt.transparent: true -! URxvt.shading: 10 diff --git a/.Xresources/default b/.Xresources/default new file mode 100644 index 0000000..72c9684 --- /dev/null +++ b/.Xresources/default @@ -0,0 +1,5 @@ +# include "/home/urbain/.Xresources/dark" + +! True transparency +URxvt.transparent: true +URxvt.shading: 10 @@ -1,6 +1,6 @@ [user] name = Urbain Vaes - email = urbain.p.vaes@gmail.com + email = mail@urbainvaes.com [init] templatedir = ~/.git_template [alias] diff --git a/.mutt/mailboxes.offlineimap b/.mutt/mailboxes.offlineimap deleted file mode 100644 index 4c1bea6..0000000 --- a/.mutt/mailboxes.offlineimap +++ /dev/null @@ -1 +0,0 @@ -mailboxes "+Informal/Informal" "+Informal/Informal.bin" "+Informal/Informal.drafts" "+Informal/Informal.sent" "+Main/Main" "+Main/Main.bin" "+Main/Main.drafts" "+Main/Main.sent" "+Personal/Personal" "+Personal/Personal.bin" "+Personal/Personal.drafts" "+Personal/Personal.sent" "+Work/Work" "+Work/Work.bin" "+Work/Work.drafts" "+Work/Work.sent" diff --git a/.mutt/muttrc b/.mutt/muttrc index d5481fd..fb1d59e 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -4,6 +4,7 @@ set alias_file = ~/.mutt/alias set header_cache = ~/.mutt/cache/headers set message_cachedir = ~/.mutt/cache/bodies set certificate_file = ~/.mutt/certificates +set signature = ~/.mutt/signature set mailcap_path = ~/.mutt/mailcap set tmpdir = ~/.mutt/temp diff --git a/.mutt/signature b/.mutt/signature index 3879890..eb52bfb 100644 --- a/.mutt/signature +++ b/.mutt/signature @@ -1,3 +1 @@ Urbain Vaes -Department of mathematics -Imperial College London diff --git a/.vim/after/ftplugin/tex/folding.vim b/.vim/after/ftplugin/tex/folding.vim deleted file mode 100644 index e69de29..0000000 --- a/.vim/after/ftplugin/tex/folding.vim +++ /dev/null diff --git a/.vim/after/ftplugin/tex/mappings.vim b/.vim/after/ftplugin/tex/mappings.vim index f812cd8..1c4625d 100644 --- a/.vim/after/ftplugin/tex/mappings.vim +++ b/.vim/after/ftplugin/tex/mappings.vim @@ -1,14 +1,14 @@ -inoremap <buffer> (( \left( -inoremap <buffer> )) \right) -inoremap <buffer> {{ \left\{ -inoremap <buffer> }} \right\} -inoremap <buffer> [[ \left[ -inoremap <buffer> ]] \right] -inoremap <buffer> == \,=\, -inoremap <buffer> >> \,\geq\, -inoremap <buffer> << \,\leq\, -inoremap <buffer> ++ \,+\, -inoremap <buffer> -- \,-\, +iabbrev <buffer> (( \left( +iabbrev <buffer> )) \right) +iabbrev <buffer> {{ \left\{ +iabbrev <buffer> }} \right\} +iabbrev <buffer> [[ \left[ +iabbrev <buffer> ]] \right] +iabbrev <buffer> == \,=\, +iabbrev <buffer> >> \,\geq\, +iabbrev <buffer> << \,\leq\, +iabbrev <buffer> ++ \,+\, +iabbrev <buffer> -- \,-\, iabbrev <buffer> ga \alpha iabbrev <buffer> gb \beta @@ -29,7 +29,6 @@ iabbrev <buffer> gs \sigma iabbrev <buffer> gf \phi iabbrev <buffer> gp \pi iabbrev <buffer> gw \omega -iabbrev <buffer> dd \d nnoremap <buffer> <LocalLeader>i :VimtexCompile<CR> nnoremap <buffer> <LocalLeader>e :VimtexErrors<CR> diff --git a/.vim/after/syntax/cpp.vim b/.vim/after/syntax/cpp.vim deleted file mode 100644 index 4da741d..0000000 --- a/.vim/after/syntax/cpp.vim +++ /dev/null @@ -1,3 +0,0 @@ -syntax keyword mPigroup pi -hi def link mPigroup Todo - diff --git a/.vim/after/syntax/cpp.vim~ b/.vim/after/syntax/cpp.vim~ deleted file mode 100644 index e69de29..0000000 --- a/.vim/after/syntax/cpp.vim~ +++ /dev/null diff --git a/.vim/after/syntax/tex.vim b/.vim/after/syntax/tex.vim deleted file mode 100644 index a40cc30..0000000 --- a/.vim/after/syntax/tex.vim +++ /dev/null @@ -1,6 +0,0 @@ -syn match texMathSymbol '\\arr\>' contained conceal cchar=← -syn match texMathSymbol '\\,' contained conceal cchar= -syn match texMathSymbol '\\mathcal' contained conceal cchar= -syn match texMathSymbol '\\text' contained conceal cchar= -syn match texMathSymbol '\\mathbb' contained conceal cchar= -syn match texMathSymbol '\\quad' contained conceal cchar= diff --git a/.vim/after/syntax/tex.vim~ b/.vim/after/syntax/tex.vim~ deleted file mode 100644 index 4e1d112..0000000 --- a/.vim/after/syntax/tex.vim~ +++ /dev/null @@ -1,6 +0,0 @@ -syn match texMathSymbol '\\arr\>' contained conceal cchar=← -syn match texMathSymbol '\\,' contained conceal cchar= -syn match texMathSymbol '\\mathcal' contained conceal cchar= -syn match texMathSymbol '\\text' contained conceal cchar= -syn match texMathSymbol '\\mathbb' contained conceal cchar= -syn match texMathSymbol '\\quad' contained conceal cchar= diff --git a/.vim/colors/mine.vim b/.vim/colors/mine.vim index 653682e..25d8a97 100644 --- a/.vim/colors/mine.vim +++ b/.vim/colors/mine.vim @@ -1,29 +1,6 @@ -" Vim color file -" Maintainer: Urbain -" Last Change: 2002/10/14 Mon 16:41. -" version: 1.0 -" This color scheme uses a light background. +set background=dark -set background=light hi clear -if exists("syntax_on") - syntax reset -endif +syntax reset -let colors_name = "mine" - -" Syntax group -hi Comment gui=none guifg=#af5f00 -hi Normal guibg=white guifg=Black -hi Type gui=none guifg=#005f00 -hi Statement gui=none guifg=#5f0000 -hi Special guifg=Black -hi Constant guifg=Gray -hi Error guifg=Red guibg=White -hi Preproc guifg=Blue "\end -hi Constant guifg=Green "\ $$ -hi Identifier guifg=Blue "\begin -hi LineNr gui=none guifg=Gray -hi FoldColumn guibg=#F5F4FD -hi Todo guibg=white gui=underline,italic guifg=Red -hi Conceal guibg=White guifg=DarkGreen +hi Error ctermbg=None diff --git a/.vim/init.vim b/.vim/init.vim new file mode 120000 index 0000000..c9a3c9c --- /dev/null +++ b/.vim/init.vim @@ -0,0 +1 @@ +vimrc
\ No newline at end of file @@ -184,9 +184,12 @@ if $COLORSCHEME=="light" elseif $COLORSCHEME=="dark" silent! colo solarized set background=dark -elseif $COLORSCHEME=="default" +elseif $COLORSCHEME=="seoul" silent! colo seoul256 set background=dark +else + silent! colo solarized + set background=dark endif highlight Comment cterm=italic @@ -7,7 +7,7 @@ xset r rate 400 50 $HOME/bin/keyboard # Load Xresources to light colorscheme -xrdb $HOME/.Xresources/light +xrdb $HOME/.Xresources/default # Background feh --bg-fill --randomize /usr/share/backgrounds diff --git a/bin/facebook b/bin/facebook deleted file mode 100755 index 00ecdcc..0000000 --- a/bin/facebook +++ /dev/null @@ -1,7 +0,0 @@ -#! /bin/bash -line="127.0.0.1 www.facebook.com" -if grep -q "www.facebook.com" /etc/hosts; then - zenity --password | sudo -S bash -c "sed -i '/www.facebook.com/d' /etc/hosts" -else - zenity --password | sudo -S bash -c "echo ${line} >> /etc/hosts" -fi |