-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
66 lines (58 loc) · 1.27 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
call plug#begin()
Plug 'airblade/vim-gitgutter'
Plug 'altercation/vim-colors-solarized'
Plug 'christoomey/vim-tmux-navigator'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'easymotion/vim-easymotion'
Plug 'ervandew/supertab'
Plug 'mattn/emmet-vim'
Plug 'mxw/vim-jsx'
Plug 'pangloss/vim-javascript'
Plug 'raimondi/delimitmate'
Plug 'rking/ag.vim'
Plug 'terryma/vim-multiple-cursors'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-surround'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
call plug#end()
let g:airline_powerline_fonts = 1
let g:jsx_ext_required = 0
colorscheme solarized
set updatetime=250
set background=dark
set nowrap
set number
set splitright
set splitbelow
set expandtab
set shiftwidth=4
set smartindent
set tabstop=4
set foldmethod=indent
set foldnestmax=10
set nofoldenable
set mouse=a
if has('mouse_sgr')
set ttymouse=sgr
endif
if has('macunix')
set clipboard=unnamed
else
set clipboard=unnamedplus
endif
nnoremap j gj
nnoremap k gk
nnoremap ; :
nnoremap <C-h> <C-w>h
nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k
nnoremap <C-l> <C-w>l
hi clear VertSplit
hi Normal ctermbg=none
hi LineNr ctermbg=0 ctermfg=none
hi VertSplit ctermbg=0 ctermfg=0
hi Folded ctermbg=0 ctermfg=6
hi FoldColumn ctermbg=0 ctermfg=6