summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vimrc18
-rwxr-xr-xinstall.sh8
2 files changed, 13 insertions, 13 deletions
diff --git a/.vimrc b/.vimrc
index 13a0078..0aaaa59 100644
--- a/.vimrc
+++ b/.vimrc
@@ -6,8 +6,8 @@ set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
"" Plugins
-Plugin 'gmarik/Vundle'
-Plugin 'LaTeX-Box-Team/LaTeX-Box'
+Plugin 'gmarik/vundle'
+Plugin 'LaTeX-Box-Team/latex-box'
Plugin 'fugitive.vim'
Plugin 'UltiSnips'
Plugin 'kien/ctrlp.vim'
@@ -91,6 +91,7 @@ set colorcolumn=0
set scrolloff=3
set t_Co=256
set guitablabel=%N\ %t\ %M
+set background=dark
" Layout text
set wrap
@@ -98,6 +99,7 @@ set linebreak
set textwidth=0
set conceallevel=2
set guifont=Monaco\ 11
+try | colorscheme solarized | catch | endtry
" Case and spell
set nospell
@@ -168,19 +170,11 @@ command! LatexEvinceSearch call LatexEvinceSearch()
autocmd FileType tex map <F6> :silent LatexEvinceSearch <Return>
autocmd Filetype tex call SetTexOptions()
-"" Layout
-if has("gui_running")
- set background=dark
- colorscheme solarized
-else
- set background=dark
- colorscheme solarized
-end
-
+" Layout
hi Cursor guifg=white guibg=blue
hi iCursor guifg=black guibg=green
hi! link conceal normal
-hi! link folded normal
+" hi! link folded error
"" Functions
function! Tex_ForwardSearchLaTeX()
diff --git a/install.sh b/install.sh
index acc6395..20afd9e 100755
--- a/install.sh
+++ b/install.sh
@@ -2,7 +2,7 @@
dir=~/dotfiles # dotfiles directory
olddir=~/dotfiles_old # old dotfiles backup directory
-files="bashrc vimrc vim zshrc oh-my-zsh" # list of files/folders to symlink in homedir
+files="bashrc vimrc vim zshrc xmodmap" # list of files/folders to symlink in homedir
mkdir -p $olddir
cd $dir
@@ -11,3 +11,9 @@ for file in $files; do
mv ~/.$file ~/dotfiles_old/
ln -s $dir/.$file ~
done
+
+rm -rf .vim/bundle
+mkdir .vim/bundle
+git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
+vim +PluginInstall +qall
+