-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
61 lines (47 loc) · 1.1 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
set number " turn line number on
set relativenumber
set tabstop=4
set expandtab
set hlsearch
"change leader to space, default is \
let mapleader=" "
set tags=tags;/
map <leader>w :!chmod +w %<cr>
"tab
map <C-Right> gt
map <C-Left> gT
map <C-t> :tabnew<cr>
map <C-c> :tabclose<cr>
call plug#begin('~/.vim/plugged')
Plug 'scrooloose/nerdtree'
Plug 'tc50cal/vim-terminal'
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
Plug 'vim-scripts/Conque-Shell'
Plug 'itchyny/lightline.vim'
Plug 'itchyny/calendar.vim'
Plug 'jremmen/vim-ripgrep'
Plug 'flazz/vim-colorschemes'
Plug 'rafi/awesome-vim-colorschemes'
Plug 'rainglow/vim'
call plug#end()
"disable nerdtree help and make look nice
let NERDTreeMinimalUI = 1
let NERDTreeDirArrows = 1
"nerdtree toggle
nmap <leader>n :NERDTree<cr>
"fzf
nnoremap <leader>f :FZF<cr>
"let g:lightline = {
" \ 'colorscheme': 'wombat',
" \ }
"
let g:lightline = {
\ 'colorscheme': 'solarized',
\ }
"set color
if &diff
colorscheme github
syntax off
endif
set laststatus=2