-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
79 lines (57 loc) · 1.65 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
set nu
set autoindent
set hlsearch
" For ctrlspace
set nocompatible
set hidden
set encoding=utf-8
call plug#begin('~/.vim/plugged')
" Plug 'easymotion/vim-easymotion'
Plug 'mg979/vim-visual-multi', {'branch': 'master'}
Plug 'tomtom/tcomment_vim'
Plug 'vim-airline/vim-airline'
"Plug 'vim-airline/vim-airline-themes'
" Plug 'tpope/vim-fugitive'
" Plug 'bling/vim-bufferline'
Plug 'vim-ctrlspace/vim-ctrlspace'
Plug 'machakann/vim-highlightedyank'
" Plug 'tpope/vim-surround'
Plug 'preservim/nerdtree'
"Plug 'scrooloose/nerdtree-project-plugin'
" Plug 'Xuyuanp/nerdtree-git-plugin'
" Plug 'mhinz/vim-signify'
Plug 'airblade/vim-gitgutter'
Plug 'gioele/vim-autoswap'
Plug 'Karmenzind/vim-tmuxlike'
" Plug 'sonph/onehalf', { 'rtp': 'vim' }
Plug 'jaredgorski/SpaceCamp'
" Plug 'mogelbrod/vim-jsonpath'
" Plug 'tomasiser/vim-code-dark'
Plug 'cespare/vim-toml'
Plug 'wgwoods/vim-systemd-syntax'
call plug#end()
let g:airline_symbols_ascii = 1
"let g:airline_statusline_ontop = 1
set tabstop=2
set shiftwidth=2
set expandtab
" For git gutter
colorscheme spacecamp
hi Normal guibg=#121212 ctermbg=NONE
hi! link EndOfBuffer Normal
" For NERDtree
let g:NERDTreeGitStatusIndicatorMapCustom = {
\ 'Modified' :'*',
\ 'Staged' :'+',
\ 'Untracked' :'!',
\ 'Renamed' :'R',
\ 'Unmerged' :'=',
\ 'Deleted' :'D',
\ 'Dirty' :'X',
\ 'Ignored' :'?',
\ 'Clean' :'C',
\ 'Unknown' :'E'
\ }
let g:NERDTreeGitStatusConcealBrackets = 1
nmap <C-\> :NERDTreeToggle<CR>
set directory^=$HOME/.vim/swap//