63 lines
1.2 KiB
VimL
63 lines
1.2 KiB
VimL
|
" require vim
|
|||
|
set nocompatible
|
|||
|
|
|||
|
""" BEGIN VUNDLE
|
|||
|
filetype off
|
|||
|
" initialize Vundle.vim
|
|||
|
set rtp+=~/.vim/bundle/Vundle.vim
|
|||
|
call vundle#begin()
|
|||
|
"" BEGIN VUNDLE PLUGINS
|
|||
|
" Install plugins with ›:PluginInstall‹
|
|||
|
Plugin 'VundleVim/Vundle.vim' " require vundle itself
|
|||
|
Plugin 'dart-lang/dart-vim-plugin'
|
|||
|
Plugin 'evidens/vim-twig'
|
|||
|
Plugin 'nblock/vim-dokuwiki'
|
|||
|
Plugin 'cespare/vim-toml'
|
|||
|
Plugin 'moll/vim-node'
|
|||
|
Plugin 'ElmCast/elm-vim'
|
|||
|
Plugin 'posva/vim-vue'
|
|||
|
"" END VUNDLE PLUGINS
|
|||
|
call vundle#end()
|
|||
|
filetype plugin indent on
|
|||
|
""" END VUNDLE
|
|||
|
|
|||
|
" line numbers
|
|||
|
set number
|
|||
|
" show line after 80 chars
|
|||
|
set colorcolumn=80
|
|||
|
" syntax highlighting
|
|||
|
syntax enable
|
|||
|
|
|||
|
" solarized theme
|
|||
|
set t_Co=256
|
|||
|
set background=dark
|
|||
|
colorscheme solarized
|
|||
|
|
|||
|
" persistent undo
|
|||
|
set undofile
|
|||
|
set undodir=$HOME/.vim/undo
|
|||
|
set undolevels=4096
|
|||
|
set undoreload=16384
|
|||
|
|
|||
|
" highlight and ignore case at search
|
|||
|
set hls ic
|
|||
|
|
|||
|
" tab support
|
|||
|
map <F7> :tabp<CR>
|
|||
|
map <F8> :tabn<CR>
|
|||
|
map <F9> :tabe
|
|||
|
|
|||
|
" Autoload settings from file bottom
|
|||
|
set modeline
|
|||
|
|
|||
|
" Highlight trailing spaces and spaces before tabs
|
|||
|
highlight ExtraWhitespace ctermbg=red guibg=red
|
|||
|
match ExtraWhitespace /\s\+$\| \+\ze\t/
|
|||
|
|
|||
|
" tab settings
|
|||
|
set ai
|
|||
|
|
|||
|
if has("gui_running")
|
|||
|
set guifont=Terminus\ 10
|
|||
|
endif
|