66 lines
1 KiB
VimL
66 lines
1 KiB
VimL
syntax on
|
|
|
|
set nocompatible
|
|
|
|
" Behavior
|
|
set backspace=indent,eol,start
|
|
set ignorecase
|
|
set smartcase
|
|
|
|
" Visual
|
|
set ruler
|
|
set number
|
|
set noerrorbells
|
|
set novisualbell
|
|
set showcmd
|
|
set showmatch
|
|
set hlsearch " highlight search
|
|
|
|
" tabs
|
|
set tabstop=4
|
|
set softtabstop=4
|
|
set shiftwidth=4
|
|
set expandtab
|
|
|
|
" Word wrapping
|
|
set wrap
|
|
set linebreak
|
|
|
|
" Indentation
|
|
set autoindent
|
|
set cindent
|
|
|
|
" Folding
|
|
set foldmethod=indent
|
|
set nofoldenable
|
|
set foldcolumn=1
|
|
|
|
filetype off
|
|
set runtimepath+=/usr/share/lilypond/2.18.2/vim/
|
|
filetype on
|
|
|
|
" Vundle configuration & management
|
|
filetype off
|
|
|
|
set rtp+=$HOME/.vim/bundle/Vundle.vim
|
|
call vundle#rc()
|
|
|
|
" Bundles for vundle "{{{
|
|
"Vim bundle Manager
|
|
Bundle 'gmarik/vundle'
|
|
" Syntax checking
|
|
Bundle 'scrooloose/syntastic'
|
|
" Color schemes :)
|
|
Bundle 'flazz/vim-colorschemes'
|
|
" For Beancount (text double-entry accounting) file
|
|
Bundle 'nathangrigg/vim-beancount'
|
|
" "}}}
|
|
|
|
" END vundle
|
|
filetype plugin indent on
|
|
|
|
" Syntactic config
|
|
let g:syntastic_html_checkers = ['jshint']
|
|
|
|
" Use vim-colorscheme plugin to set color
|
|
autocmd vimenter * colorscheme wargrey
|