-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvimrc
106 lines (77 loc) · 1.93 KB
/
vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
" git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
" vim +BundleInstall +qall
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle
call vundle#rc()
Bundle 'gmarik/vundle'
" Bundle 'tpope/vim-rails.git'
Bundle 'mattn/emmet-vim'
Bundle 'scrooloose/nerdtree'
Bundle 'editorconfig/editorconfig-vim'
" NERDTree {
map <C-e> :NERDTreeToggle<CR>
" }
Bundle 'Shougo/neocomplcache'
Bundle 'AutoClose'
Bundle 'kien/ctrlp.vim'
Bundle 'bling/vim-airline'
" let g:airline_theme='solarized'
let g:airline#extensions#tabline#enabled = 1
" Bundle 'airblade/vim-gitgutter'
Bundle 'tpope/vim-fugitive'
" Bundle 'Lokaltog/powerline'
" let g:Powerline_symbols='unicode'
set laststatus=2
set encoding=utf8
Bundle 'scrooloose/syntastic'
Bundle 'altercation/vim-colors-solarized'
Bundle 'jtai/vim-womprat'
Bundle 'chriskempson/base16-vim'
Bundle 'Lokaltog/vim-easymotion'
Plugin 'arcticicestudio/nord-vim'
Plugin 'rakr/vim-one'
" solarized theme
" let g:solarized_termcolors=256
" colorscheme solarized
" set background=dark
" colorscheme womprat
" Configure UI {
let g:airline_theme='nord'
set term=screen-256color
set t_Co=256
set background=dark
let base16colorspace=256
" colorscheme base16-ocean
" colorscheme solarized
colorscheme nord
" }
Bundle 'vim-scripts/bufexplorer.zip'
Bundle 'terryma/vim-multiple-cursors'
Bundle 'tpope/vim-commentary'
" syntax highlighting
syntax on
set number
set autochdir
" auto reload while file is changed outside
set autoread
" Tab related
set shiftwidth=2
set tabstop=2
set softtabstop=2
set expandtab " User spances instead of tabs
set list
set listchars=tab:\|\
set autoindent
set smartindent
set showcmd
set incsearch
set hlsearch
set paste
filetype plugin indent on
" autocmd Filetype python setlocal expandtab tabstop=4 shiftwidth=4
au Filetype python setl et ts=4 sw=4
au Filetype ruby setl et ts=2 sw=2
if filereadable(expand("~/.vimrc.local"))
source ~/.vimrc.local
endif