diff --git a/common/.vim/colors/lucius.vim b/common/.vim/colors/lucius.vim index 9f3ae1f..97fd014 100644 --- a/common/.vim/colors/lucius.vim +++ b/common/.vim/colors/lucius.vim @@ -182,16 +182,16 @@ hi Todo ctermfg=190 ctermbg=NONE cterm=underl " -------- " word not recognized hi SpellBad guisp=#ee0000 gui=undercurl -hi SpellBad ctermbg=9 cterm=undercurl +hi SpellBad ctermfg=9 ctermbg=NONE cterm=undercurl " word not capitalized hi SpellCap guisp=#eeee00 gui=undercurl -hi SpellCap ctermbg=12 cterm=undercurl +hi SpellCap ctermfg=12 ctermbg=NONE cterm=undercurl " rare word 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 hi SpellLocal guisp=#ffa500 gui=undercurl -hi SpellLocal ctermbg=14 cterm=undercurl +hi SpellLocal ctermfg=14 ctermbg=NONE cterm=undercurl " Cursor diff --git a/common/.vimrc b/common/.vimrc index 68dd407..3a2d8bc 100644 --- a/common/.vimrc +++ b/common/.vimrc @@ -31,7 +31,6 @@ set encoding=utf-8 set nocompatible " désactivation de la compatibilité avec vi set shortmess+=filmnrxoOtT " retire le hit -colorscheme lucius set background=dark " fond noir par défaut set ai " indentation automatique 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 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 map :1;$ s/[\r \t]\+$// diff --git a/update-home.sh b/update-home.sh index 346fb2f..a7e5bfb 100755 --- a/update-home.sh +++ b/update-home.sh @@ -13,8 +13,9 @@ rm -rf ~/.oh-my-zsh git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh 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 +popd touch ~/.zshrc-local @@ -25,14 +26,12 @@ pip install --upgrade --user git+git://github.com/Lokaltog/powerline # Copy the graphical part if needed if [ "$1" == '--graphic' ] then - rsync -av graphic/ ~/ - rsync -av graphic/.[a-zA-Z]* ~/ + rsync -av ./graphic/ ~/ fc-cache -vf ~/.fonts fi # Copy the common part -rsync -av common/ ~/ -rsync -av common/.[a-zA-Z]* ~/ +rsync -av ./common/ ~/ # Adjust the 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 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 rm -rf ~/.vim/bundle/vimwiki hg clone https://code.google.com/p/vimwiki/src ~/.vim/bundle/vimwiki