forked from amix/vimrc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_config.vim
More file actions
62 lines (52 loc) · 1.64 KB
/
example_config.vim
File metadata and controls
62 lines (52 loc) · 1.64 KB
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
set nu
set textwidth=79
set colorcolumn=79
set clipboard=unnamed
if has('gui_running')
set lines=120
set columns=120
endif
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Wakatime
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
let g:wakatime_PythonBinary = '/usr/local/bin/python'
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Nerd Tree
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
let g:NERDTreeWinPos = "left"
let g:NERDTreeWinSize = 25
map <F2> <leader>nn
map <F3> <leader>nf
""""""""""""""""""""""""""""""
" => Tagbar
""""""""""""""""""""""""""""""
autocmd BufReadPost *.cpp,*.c,*.h,*.py call tagbar#autoopen()
autocmd BufReadPost *.html,*.js,*.css,.vimrc* call tagbar#CloseWindow()
nmap <silent> <F4> :TagbarToggle<CR>
let g:tagbar_sort = 0
let g:tagbar_width = 29
let g:tagbar_autofocus = 0
let g:tagbar_show_linenumbers = 1
""""""""""""""""""""""""""""""
" => Syntastic
""""""""""""""""""""""""""""""
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_python_checkers=['python', 'flake8']
let g:syntastic_python_flake8_post_args='--ignore=W391,E712'
let g:syntastic_html_checkers=['']
""""""""""""""""""""""""""""""
" => ctrlsf.vim
""""""""""""""""""""""""""""""
let g:ctrlsf_position = 'bottom'
nmap <C-C> <Plug>CtrlSFPrompt
""""""""""""""""""""""""""""""
" => vim-easymotion
""""""""""""""""""""""""""""""
map / <Plug>(easymotion-sn)
omap / <Plug>(easymotion-tn)