-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
47 lines (37 loc) · 1009 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
43
44
45
46
47
" set up Pathogen. This should be done first.
execute pathogen#infect()
call pathogen#helptags()
" UI
colorscheme darkblue
if has("mac") || has("macunix")
set gfn=Sauce\ Code\ Powerline\ Light:h18
endif
au BufRead,BufNewFile *.json set filetype=json
au! Syntax json source /Users/kevin/.vim/ftplugin/json.vim
au BufRead,BufNewFile todo.txt set filetype=todo
au! Syntax todo source /Users/kevin/.vim/todo.vim
syntax on
filetype plugin indent on
" nerdtree
let NERDTreeIgnore=['\.pyc$']
" keymaps
nmap <F7> :NERDTreeToggle<CR>
nmap <F8> :TagbarToggle<CR>
nmap <C-S-Left> :bp<CR>
nmap <C-S-Right> :bn<CR>
" airline config
let g:airline_powerline_fonts = 1
set laststatus=2
let g:airline#extensions#tabline#enabled = 1
"let g:airline#extensions#tabline#left_sep = ' '
"let g:airline#extensions#tabline#left_alt_sep = '|'
" vim-notes
let g:notes_directories = ['~/Google Drive/Notepad']
" Misc
set ts=8 sw=4 softtabstop=4
set hlsearch
set expandtab
set shiftwidth=4
set tabstop=4
set smarttab
set nu