add stuff

This commit is contained in:
Felix Van der Jeugt 2015-03-05 17:58:21 +01:00
parent bca8a62f6f
commit 3818f540e4

View File

@ -20,6 +20,7 @@ Plugin 'Shougo/vimproc.vim'
Plugin 'tpope/vim-markdown' Plugin 'tpope/vim-markdown'
Plugin 'altercation/vim-colors-solarized' Plugin 'altercation/vim-colors-solarized'
Plugin 'Valloric/YouCompleteMe' Plugin 'Valloric/YouCompleteMe'
Plugin 'junegunn/vim-easy-align'
" All of your Plugins must be added before the following line " All of your Plugins must be added before the following line
call vundle#end() " required call vundle#end() " required
@ -38,6 +39,7 @@ let NERDTreeIgnore=[
" Configuring ctrlp " Configuring ctrlp
noremap <C-p> :CtrlP<CR> noremap <C-p> :CtrlP<CR>
noremap <C-o> :CtrlPBuffer<CR> noremap <C-o> :CtrlPBuffer<CR>
let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard']
" Configuring Airline " Configuring Airline
let g:airline_powerline_fonts=1 let g:airline_powerline_fonts=1
@ -53,7 +55,7 @@ set t_Co=256
let g:solarized_termcolors=256 let g:solarized_termcolors=256
let g:solarized_contrast="normal" let g:solarized_contrast="normal"
let g:solarized_underline=0 let g:solarized_underline=0
let g:solarized_termtrans=0 let g:solarized_termtrans=1
syntax enable syntax enable
set background=dark set background=dark
colorscheme solarized colorscheme solarized
@ -61,7 +63,7 @@ colorscheme solarized
" }}} " }}}
" General Options {{{ " General Options {{{
" ============================================================================ " " ================================================================== "
set number " line numbers on the right side set number " line numbers on the right side
set showcmd " show the commands while typing set showcmd " show the commands while typing
@ -73,10 +75,10 @@ set ruler " show the lines/% bottomright
set encoding=utf-8 " set default encoding set encoding=utf-8 " set default encoding
set laststatus=2 " always show the status line set laststatus=2 " always show the status line
" wrap lines at 80 characters " wrap lines at 70 characters
set formatprg=par\ -w80 set formatprg=par\ -w70
set formatoptions=t set formatoptions=t
set textwidth=80 set textwidth=70
" indentation " indentation
set tabstop=4 " tab is 4 width set tabstop=4 " tab is 4 width
@ -117,14 +119,15 @@ noremap <space> zz
cmap w!! w !sudo tee % >/dev/null cmap w!! w !sudo tee % >/dev/null
" paste the clipboard " paste the clipboard
noremap <C-b> :r!xclip -sel c -o<CR><CR> noremap <C-b> :r!xclip -sel c -o<CR><CR>
noremap <C-m> :w !xclip -sel c<CR><CR>
" }}} " }}}
" Filetype specific configuration. {{{ " Filetype specific configuration. {{{
" ============================================================================ " " ================================================================== "
" Haskell {{{ " Haskell {{{
" ---------------------------------------------------------------------------- " " ------------------------------------------------------------------ "
autocmd FileType haskell call HaskellHook() autocmd FileType haskell call HaskellHook()
autocmd BufRead,BufNewFile *.lhs call HaskellHook() autocmd BufRead,BufNewFile *.lhs call HaskellHook()
@ -146,7 +149,7 @@ endfunction
" }}} " }}}
" Java {{{ " Java {{{
" ---------------------------------------------------------------------------- " " ------------------------------------------------------------------ "
autocmd FileType java call JavaHook() autocmd FileType java call JavaHook()
@ -161,7 +164,7 @@ endfunction
" }}} " }}}
" C {{{ " C {{{
" ---------------------------------------------------------------------------- " " ------------------------------------------------------------------ "
autocmd FileType c call CHook() autocmd FileType c call CHook()
@ -176,7 +179,7 @@ endfunction
" }}} " }}}
" Ruby {{{ " Ruby {{{
" ---------------------------------------------------------------------------- " " ------------------------------------------------------------------ "
autocmd FileType ruby call RubyHook() autocmd FileType ruby call RubyHook()
autocmd FileType eruby call RubyHook() autocmd FileType eruby call RubyHook()
@ -197,7 +200,7 @@ endfunction
" }}} " }}}
" R {{{ " R {{{
" ---------------------------------------------------------------------------- " " ------------------------------------------------------------------ "
autocmd FileType r call RHook() autocmd FileType r call RHook()
@ -209,7 +212,7 @@ endfunction
" }}} " }}}
" Latex {{{ " Latex {{{
" ---------------------------------------------------------------------------- " " ------------------------------------------------------------------ "
autocmd FileType tex call TexHook() autocmd FileType tex call TexHook()
@ -226,7 +229,7 @@ endfunction
" }}} " }}}
" Markdown {{{ " Markdown {{{
" ---------------------------------------------------------------------------- " " ------------------------------------------------------------------ "
autocmd Filetype markdown call MarkdownHook() autocmd Filetype markdown call MarkdownHook()
@ -239,7 +242,7 @@ endfunction
" }}} " }}}
" Python {{{ " Python {{{
" ---------------------------------------------------------------------------- " " ------------------------------------------------------------------ "
autocmd FileType python call PythonHook() autocmd FileType python call PythonHook()