-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
64 lines (53 loc) · 1.36 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
execute pathogen#infect()
let base16colorspace=256
colorscheme base16-default-dark
let g:AirlineTheme="base16_default"
let g:airline_powerline_fonts = 1
set number
set ignorecase
set smartindent
set expandtab
set tabstop=4
set shiftwidth=4
set list
set nowrap
set mouse=a
set guifont="Hack Regular 9"
set guioptions-=T
set showcmd
set cursorline
set wildmenu
set lazyredraw
set hlsearch
syntax on
filetype plugin indent on
let g:indent_guides_enable_on_vim_startup = 1
let g:indent_guides_start_level = 2
let g:indent_guides_guide_size = 1
"let g:indent_guides_auto_colors = 0
"autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd guibg=red ctermbg=17
"autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=green ctermbg=18
let g:vim_json_syntax_conceal = 0
let g:UltiSnipsExpandTrigger="<tab>"
au FileType gitcommit startinsert
au FileType gitrebase startinsert
let g:tmuxline_powerline_separators = 1
" Fix mouse resizing in tmux:
set mouse+=a
if &term =~ '^screen'
" tmux knows the extended mouse mode
set ttymouse=xterm2
endif
" CtrlP settings
let g:ctrlp_map = '<c-p>'
let g:ctrlp_cmd = 'CtrlP'
" Set up persistent undo
let vimDir = '$HOME/.vim'
if has('persistent_undo')
let myUndoDir = expand(vimDir . '/undo')
" Create dirs
call system('mkdir ' . myUndoDir)
let &undodir = myUndoDir
set undofile
endif
let g:vim_markdown_folding_disabled = 1