-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
executable file
·80 lines (66 loc) · 1.74 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
set nocompatible
" Vundle
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'tpope/vim-sensible'
Plugin 'bling/vim-airline'
Plugin 'kien/ctrlp.vim'
Plugin 'majutsushi/tagbar'
Plugin 'Valloric/YouCompleteMe'
Plugin 'altercation/vim-colors-solarized'
Plugin 'Shougo/vimproc.vim'
Plugin 'Shougo/unite.vim'
Plugin 'tpope/vim-commentary'
Plugin 'digitaltoad/vim-jade'
Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-surround'
Plugin 'scrooloose/syntastic'
Plugin 'fholgado/minibufexpl.vim'
Plugin 'edkolev/tmuxline.vim'
Plugin 'edkolev/promptline.vim'
Plugin 'chriskempson/base16-vim'
Plugin 'pangloss/vim-javascript'
Plugin 'mxw/vim-jsx'
Plugin 'scrooloose/nerdtree'
Plugin 'marijnh/tern_for_vim'
Plugin 'mustache/vim-mustache-handlebars'
call vundle#end()
filetype plugin indent on
" Vim-airline
let g:airline_powerline_fonts = 1
set laststatus=2
" tagbar
nmap <F8> :TagbarToggle<CR>
" NERDTree
nmap <F7> :NERDTreeToggle<CR>
" base16-ocean
set background=dark
let base16colorspace=256
colorscheme base16-ocean
syntax on
set number relativenumber
" phpcomplete-extended
autocmd FileType php setlocal omnifunc=phpcomplete_extended#CompletePHP
let g:phpcomplete_index_composer_command='composer'
" Indentation
set expandtab
set tabstop=2
set shiftwidth=2
" Ctrl-P
let g:ctrlp_user_command = 'ag %s -i --nocolor --nogroup --hidden
\ --ignore .git
\ --ignore .svn
\ --ignore .hg
\ --ignore .DS_Store
\ --ignore "**/*.pyc"
\ -g ""'
" Syntastic
let g:syntastic_javascript_checkers = ['eslint']
au BufRead,BufNewFile /home/nathanajah/projects/nuansaticket/api/* set tabstop=2 shiftwidth=2
" Undo
set undodir=/home/nathanajah/.vim/undodir
set undofile
set undolevels=1000
set undoreload=10000