-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
43 lines (31 loc) · 757 Bytes
/
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
filetype off
syntax on
filetype indent plugin on
set t_Co=256
set encoding=UTF-8
colorscheme jellybeans
set number
set showtabline=2
set tabstop=2 shiftwidth=2 expandtab
set modeline
set nocompatible
set history=100
set laststatus=2
set hidden
set mouse=a
set list listchars=tab:⩥\ ,trail:∙
imap jk <esc>
let mapleader = "\<Space>"
nnoremap <Leader>; :w<CR>
nmap <Leader><Leader> :bnext<CR>
nnoremap <Leader>l :bn<cr>
nnoremap <Leader>h :bp<cr>
let g:lightline = {
\ 'colorscheme': 'jellybeans',
\ }
let g:move_key_modifier = 'C'
nnoremap <Leader>p :CtrlP<CR>
let g:ctrlp_custom_ignore = 'node_modules\|DS_Store\|git'
let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
let g:ctrlp_use_caching = 0
set grepprg=ag\ --nogroup\ --nocolor