From 6a1b3e569f3322f6d4db480ed1fd282ac8324d8b Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 12 Feb 2016 20:39:13 +0100 Subject: Delete unused files --- .vim/after/ftplugin/tex/folding.vim | 0 .vim/after/ftplugin/tex/mappings.vim | 23 +++++++++++------------ .vim/after/syntax/cpp.vim | 3 --- .vim/after/syntax/cpp.vim~ | 0 .vim/after/syntax/tex.vim | 6 ------ .vim/after/syntax/tex.vim~ | 6 ------ .vim/colors/mine.vim | 29 +++-------------------------- .vim/vimrc | 4 +++- 8 files changed, 17 insertions(+), 54 deletions(-) delete mode 100644 .vim/after/ftplugin/tex/folding.vim delete mode 100644 .vim/after/syntax/cpp.vim delete mode 100644 .vim/after/syntax/cpp.vim~ delete mode 100644 .vim/after/syntax/tex.vim delete mode 100644 .vim/after/syntax/tex.vim~ diff --git a/.vim/after/ftplugin/tex/folding.vim b/.vim/after/ftplugin/tex/folding.vim deleted file mode 100644 index e69de29..0000000 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 (( \left( -inoremap )) \right) -inoremap {{ \left\{ -inoremap }} \right\} -inoremap [[ \left[ -inoremap ]] \right] -inoremap == \,=\, -inoremap >> \,\geq\, -inoremap << \,\leq\, -inoremap ++ \,+\, -inoremap -- \,-\, +iabbrev (( \left( +iabbrev )) \right) +iabbrev {{ \left\{ +iabbrev }} \right\} +iabbrev [[ \left[ +iabbrev ]] \right] +iabbrev == \,=\, +iabbrev >> \,\geq\, +iabbrev << \,\leq\, +iabbrev ++ \,+\, +iabbrev -- \,-\, iabbrev ga \alpha iabbrev gb \beta @@ -29,7 +29,6 @@ iabbrev gs \sigma iabbrev gf \phi iabbrev gp \pi iabbrev gw \omega -iabbrev dd \d nnoremap i :VimtexCompile nnoremap e :VimtexErrors 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 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/vimrc b/.vim/vimrc index f1c9dcb..045f53e 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -184,9 +184,11 @@ 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 endif highlight Comment cterm=italic -- cgit v1.2.3 From 4969d9d06c0f4a9d640af2b54d0c73b9fa5e24b0 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 12 Feb 2016 20:39:39 +0100 Subject: Add various changes --- .Xresources/base | 4 ---- .Xresources/default | 5 +++++ .gitconfig | 2 +- .xinitrc | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 .Xresources/default 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 diff --git a/.gitconfig b/.gitconfig index f17e9b9..0e6c6f7 100644 --- a/.gitconfig +++ b/.gitconfig @@ -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/.xinitrc b/.xinitrc index 80247ea..be7d40c 100755 --- a/.xinitrc +++ b/.xinitrc @@ -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 -- cgit v1.2.3 From 2c300e8341b1d00e3a48a76403a2ae489be40e31 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 12 Feb 2016 20:57:04 +0100 Subject: Yolo --- .mutt/mailboxes.offlineimap | 1 - .mutt/muttrc | 1 + .mutt/signature | 2 -- .vim/init.vim | 1 + .vim/vimrc | 1 + 5 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 .mutt/mailboxes.offlineimap create mode 120000 .vim/init.vim 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/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 diff --git a/.vim/vimrc b/.vim/vimrc index 045f53e..ef7be30 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -189,6 +189,7 @@ elseif $COLORSCHEME=="seoul" set background=dark else silent! colo solarized + set background=dark endif highlight Comment cterm=italic -- cgit v1.2.3 From 142628de91fb3620a08101da1abe17c12c7f0c32 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sat, 13 Feb 2016 00:55:52 +0100 Subject: Delete unused script --- .mail.sieve | 11 +++++++++++ bin/facebook | 7 ------- mail.sieve | 11 ----------- 3 files changed, 11 insertions(+), 18 deletions(-) create mode 100644 .mail.sieve delete mode 100755 bin/facebook delete mode 100644 mail.sieve diff --git a/.mail.sieve b/.mail.sieve new file mode 100644 index 0000000..d7dd982 --- /dev/null +++ b/.mail.sieve @@ -0,0 +1,11 @@ +require ["fileinto"]; + +if address :is "To" "facebook@urbainvaes.com" +{ + fileinto :create "Drafts"; +} + +else +{ + keep; +} 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 diff --git a/mail.sieve b/mail.sieve deleted file mode 100644 index d7dd982..0000000 --- a/mail.sieve +++ /dev/null @@ -1,11 +0,0 @@ -require ["fileinto"]; - -if address :is "To" "facebook@urbainvaes.com" -{ - fileinto :create "Drafts"; -} - -else -{ - keep; -} -- cgit v1.2.3