Fix lucius theme and update script.

This commit is contained in:
Christophe Buffenoir 2013-12-16 01:34:51 +01:00
parent 3ddf6c1d69
commit 32decca92c
3 changed files with 11 additions and 14 deletions

View file

@ -182,16 +182,16 @@ hi Todo ctermfg=190 ctermbg=NONE cterm=underl
" -------- " --------
" word not recognized " word not recognized
hi SpellBad guisp=#ee0000 gui=undercurl hi SpellBad guisp=#ee0000 gui=undercurl
hi SpellBad ctermbg=9 cterm=undercurl hi SpellBad ctermfg=9 ctermbg=NONE cterm=undercurl
" word not capitalized " word not capitalized
hi SpellCap guisp=#eeee00 gui=undercurl hi SpellCap guisp=#eeee00 gui=undercurl
hi SpellCap ctermbg=12 cterm=undercurl hi SpellCap ctermfg=12 ctermbg=NONE cterm=undercurl
" rare word " rare word
hi SpellRare guisp=#ffa500 gui=undercurl hi SpellRare guisp=#ffa500 gui=undercurl
hi SpellRare ctermbg=13 cterm=undercurl hi SpellRare ctermfg=13 ctermbg=NONE cterm=undercurl
" wrong spelling for selected region " wrong spelling for selected region
hi SpellLocal guisp=#ffa500 gui=undercurl hi SpellLocal guisp=#ffa500 gui=undercurl
hi SpellLocal ctermbg=14 cterm=undercurl hi SpellLocal ctermfg=14 ctermbg=NONE cterm=undercurl
" Cursor " Cursor

View file

@ -31,7 +31,6 @@ set encoding=utf-8
set nocompatible " désactivation de la compatibilité avec vi set nocompatible " désactivation de la compatibilité avec vi
set shortmess+=filmnrxoOtT " retire le hit <Enter> set shortmess+=filmnrxoOtT " retire le hit <Enter>
colorscheme lucius
set background=dark " fond noir par défaut set background=dark " fond noir par défaut
set ai " indentation automatique set ai " indentation automatique
syntax enable " activation de la coloration syntaxique syntax enable " activation de la coloration syntaxique
@ -204,7 +203,10 @@ set ignorecase " ignore la casse lors des recherches
"autocmd BufRead *.txt set tw=78 "limiter la longueur du texte à 78 "autocmd BufRead *.txt set tw=78 "limiter la longueur du texte à 78
"autocmd BufWrite * silent! %s/[\r \t]\+$// "Supprime les espaces en fin de ligne avant de sauver "autocmd BufWrite * silent! %s/[\r \t]\+$// "Supprime les espaces en fin de ligne avant de sauver
"
hi clear SpellBad
colorscheme lucius
""""""" Supprime les espaces en fin de ligne avec la touche t """"""" Supprime les espaces en fin de ligne avec la touche t
map <silent> <F6> :1;$ s/[\r \t]\+$//<Return> map <silent> <F6> :1;$ s/[\r \t]\+$//<Return>

View file

@ -13,8 +13,9 @@ rm -rf ~/.oh-my-zsh
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
mkdir -p ~/.oh-my-zsh/custom/plugins mkdir -p ~/.oh-my-zsh/custom/plugins
cd ~/.oh-my-zsh/custom/plugins pushd ~/.oh-my-zsh/custom/plugins
git clone git://github.com/zsh-users/zsh-syntax-highlighting.git git clone git://github.com/zsh-users/zsh-syntax-highlighting.git
popd
touch ~/.zshrc-local touch ~/.zshrc-local
@ -25,14 +26,12 @@ pip install --upgrade --user git+git://github.com/Lokaltog/powerline
# Copy the graphical part if needed # Copy the graphical part if needed
if [ "$1" == '--graphic' ] if [ "$1" == '--graphic' ]
then then
rsync -av graphic/ ~/ rsync -av ./graphic/ ~/
rsync -av graphic/.[a-zA-Z]* ~/
fc-cache -vf ~/.fonts fc-cache -vf ~/.fonts
fi fi
# Copy the common part # Copy the common part
rsync -av common/ ~/ rsync -av ./common/ ~/
rsync -av common/.[a-zA-Z]* ~/
# Adjust the tmux conf # Adjust the tmux conf
sed -i "s/REPLACEMEWITHFIRSTLETTEROFHOSTNAME/`expr substr \`hostname\` 1 1`/g" ~/.tmux.conf sed -i "s/REPLACEMEWITHFIRSTLETTEROFHOSTNAME/`expr substr \`hostname\` 1 1`/g" ~/.tmux.conf
@ -91,10 +90,6 @@ git clone https://github.com/vim-scripts/css3-mod.git ~/.vim/bundle/css3-mod
rm -rf ~/.vim/bundle/vim-less rm -rf ~/.vim/bundle/vim-less
git clone https://github.com/groenewege/vim-less.git ~/.vim/bundle/vim-less git clone https://github.com/groenewege/vim-less.git ~/.vim/bundle/vim-less
# Install grep plugin
rm -rf ~/.vim/bundle/grep
git clone https://github.com/vim-scripts/grep.vim.git ~/.vim/bundle/grep
# Install vimwiki # Install vimwiki
rm -rf ~/.vim/bundle/vimwiki rm -rf ~/.vim/bundle/vimwiki
hg clone https://code.google.com/p/vimwiki/src ~/.vim/bundle/vimwiki hg clone https://code.google.com/p/vimwiki/src ~/.vim/bundle/vimwiki