Clean up vimrc

This commit is contained in:
2017-02-26 16:44:30 -05:00
parent c67e6f16f1
commit e92c2f9ac1

31
.vimrc
View File

@@ -2,50 +2,44 @@
set nocompatible set nocompatible
set backspace=indent,eol,start set backspace=indent,eol,start
" Helpful information: cursor position in bottom right, line numbers on left execute pathogen#infect()
set ruler
set number
" Enable filetype detection and syntax hilighting " Enable filetype detection and syntax hilighting
syntax on syntax on
filetype on filetype on
filetype indent on filetype indent on
filetype plugin on filetype plugin on
" Indent as intelligently as vim knows how
set smartindent set smartindent
" Show multicharacter commands as they are being typed
set showcmd
set laststatus=2
set noshowmode
set title
" Search betterer " Search betterer
set incsearch set incsearch
colorscheme materialbox
set hlsearch set hlsearch
set ignorecase set ignorecase
set smartcase set smartcase
" Visual setup
set number
set noshowmode
set title
set showcmd
set laststatus=2
set background=dark set background=dark
colorscheme materialbox
set t_ut= set t_ut=
let g:airline_theme='lucius'
execute pathogen#infect() let g:airline_powerline_fonts=1
" highlight long lines (over 80 char) " highlight long lines (over 80 char)
if exists('+colorcolumn') if exists('+colorcolumn')
set colorcolumn=80 set colorcolumn=80
else else
endif endif
if exists('+mouse') if exists('+mouse')
set mouse=a set mouse=a
else else
endif endif
let g:airline_powerline_fonts=1
" NERDTree binding " NERDTree binding
map <C-n> :NERDTreeToggle<CR> map <C-n> :NERDTreeToggle<CR>
@@ -60,5 +54,6 @@ execute "set rtp+=" . g:opamshare . "/merlin/vim"
" set light mode? " set light mode?
if !empty($LC_LIGHT_BG) if !empty($LC_LIGHT_BG)
colorscheme solarized colorscheme solarized
let g:airline_theme='solarized'
set background=light set background=light
endif endif