-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc.local
76 lines (57 loc) · 1.77 KB
/
.vimrc.local
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
if has("gui_win32")
set guifont=Consolas
set encoding=utf-8
setglobal fileencoding=utf-8
set fileencodings=ucs-bom,utf-8,latin1
set fileformat=unix
endif
if has('gui_running')
set guioptions -=m
endif
if has('statusline')
set statusline=%<%f\ " Filename
set statusline+=%w%h%m%r " Options
set statusline+=%{fugitive#statusline()} " Git Hotness
set statusline+=\ [%{&ff}/%Y] " filetype
set statusline+=\ [%.30F] " current dir
set statusline+=%=%-14.(%l,%c%V%)\ %p%% " Right aligned file nav info
let g:airline_left_sep = ''
let g:airline_left_alt_sep=''
let g:airline_right_sep=''
let g:airline_right_alt_sep=''
endif
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#left_sep = ' '
let g:airline#extensions#tabline#left_alt_sep = '|'
set nospell
colors xoria256
nmap <silent> <leader>ev :e $MYVIMRC<cr>
nmap <silent> <leader>sv :so $MYVIMRC<cr>
nmap <silent> <leader>n :set invhls<cr>:set hls?<cr>
nmap <silent> <leader>m :b#<cr>
nmap <F7> mzgg=G`z<CR>
imap <F1> <Esc>
vmap <F1> <Esc>
" mapping for moving through the buffers
nnoremap <C-J> :bnext<cr>
nnoremap <C-K> :bprevious<cr>
nnoremap <F5> :UndotreeToggle<cr>
set noeb vb t_vb=
set diffopt+=iwhite
"set noexpandtab
set smartindent
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
set guioptions -=m
let g:vim_json_syntax_conceal=0
let g:syntastic_javascript_checkers =['jshint']
let g:syntastic_coffee_checkers = ['coffee']
"let g:syntastic_php_checkers =['php', 'phpcs']
"let g:syntastic_php_phpcs_args="--standard=Zend --report=csv"
let g:signify_vcs_list = ['git']
let g:ctrlp_cmd = 'CtrlPMRU'
map ; :
autocmd FileType coffee setl colorcolumn=120
autocmd FileType coffee setl foldmethod=indent nofoldenable