-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
67 lines (59 loc) · 1.53 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
" Vundle
set nocompatible
filetype off
set rtp+=~/dotfiles/.vim/bundle/Vundle.vim
call vundle#begin()
" Add plugins
Plugin 'VundleVim/Vundle.vim'
Plugin 'flazz/vim-colorschemes'
Plugin 'scrooloose/nerdtree'
Plugin 'mattn/emmet-vim'
Plugin 'kien/ctrlp.vim'
Plugin 'tpope/vim-surround'
Plugin 'airblade/vim-gitgutter'
Plugin 'jiangmiao/auto-pairs'
Plugin 'pangloss/vim-javascript'
Plugin 'mxw/vim-jsx'
Plugin 'tpope/vim-fugitive'
Plugin 'altercation/vim-colors-solarized'
Plugin 'easymotion/vim-easymotion'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'ryanoasis/vim-devicons'
Plugin 'Xuyuanp/nerdtree-git-plugin'
Plugin 'vim-ruby/vim-ruby'
" Plugin 'lifepillar/vim-mucomplete'
Plugin 'SirVer/ultisnips'
Plugin 'honza/vim-snippets'
" Finish Vundle
call vundle#end()
filetype plugin indent on
" My configuration
set autoindent
set textwidth=80
set encoding=UTF-8
" MUComplete
" set completeopt+=menuone
" set completeopt+=noselect
" set completeopt+=noinsert
" set shortmess+=c
" let g:mucomplete#enable_auto_at_startup = 1
" CTRLP
let g:ctrlp_show_hidden = 1
syntax enable
set background=dark
colorscheme solarized
set tabstop=4
set softtabstop=4
set shiftwidth=4
set number
set backspace=indent,eol,start
" Key mappings
imap jj <Esc>
" Disable automatic comment
autocmd BufNewFile,BufRead * setlocal formatoptions-=cro
" UltiSnips
let g:UltiSnipsExpandTrigger="<s-tab>"
let g:UltiSnipsJumpForwardTrigger="<c-b>"
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
let g:UltiSnipsSnippetDirectories=[$HOME . "/dotfiles/snipps"]