dotfiles/.vimrc

64 lines
1.3 KiB
VimL
Raw Normal View History

2018-07-21 17:30:18 +02:00
set nocompatible " be iMproved, required
2018-12-05 08:21:18 +01:00
filetype on " required
2018-07-21 17:30:18 +02:00
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install bundles
"let path = '~/some/path/here'
"call vundle#rc(path)
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'zah/nim.vim'
Plugin 'scrooloose/syntastic'
Plugin 'w0ng/vim-hybrid'
2018-12-05 08:21:18 +01:00
Plugin 'rust-lang/rust.vim'
2018-07-21 17:30:18 +02:00
call vundle#end() " required
filetype plugin indent on
2018-02-07 13:19:36 +01:00
set number
set showmatch
set hlsearch
set ignorecase
set smartcase
set incsearch
set autoindent
set cindent
set expandtab
set shiftwidth=4
set smartindent
set smarttab
set softtabstop=4
2018-12-05 08:21:18 +01:00
set relativenumber
2018-02-07 13:19:36 +01:00
" set beam cursor in insert mode
let &t_SI = "\<esc>[5 q"
let &t_SR = "\<esc>[5 q"
let &t_EI = "\<esc>[2 q"
set autochdir
set undolevels=1000
set backspace=indent,eol,start
2018-07-21 17:30:18 +02:00
let g:hybrid_custom_term_colors = 1
let g:hybrid_reduced_contrast = 1
set background=dark
colorscheme hybrid
2018-02-07 13:19:36 +01:00
syntax on
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0