git ssb


0+

cryptix / dotcryptix



Tree: c475ad20c2c71140f39209984924cedf63e14d6d

Files: c475ad20c2c71140f39209984924cedf63e14d6d / vimrc

2629 bytesRaw
1syntax enable
2filetype off
3
4call plug#begin('~/.vim/plugged')
5Plug 'scrooloose/nerdtree'
6Plug 'bling/vim-airline'
7Plug 'kien/ctrlp.vim'
8Plug 'sheerun/vim-polyglot'
9Plug 'scrooloose/syntastic'
10Plug 'ciaranm/detectindent'
11Plug 'Chiel92/vim-autoformat'
12
13Plug 'lervag/vimtex'
14
15"golang stuff
16Plug 'fatih/vim-go'
17Plug 'majutsushi/tagbar'
18" Plug 'Valloric/YouCompleteMe'
19" Plug 'SirVer/ultisnips'
20
21" vim
22Plug 'godlygeek/tabular'
23Plug 'joker1007/vim-markdown-quote-syntax'
24Plug 'rcmdnk/vim-markdown'
25
26" colorscheme
27Plug 'altercation/vim-colors-solarized'
28
29" All of your Plugins must be added before the following line
30call plug#end()
31filetype plugin indent on
32
33set statusline+=%#warningmsg#
34set statusline+=%{SyntasticStatuslineFlag()}
35set statusline+=%*
36
37let g:syntastic_javascript_checkers = ['standard']
38let g:syntastic_aggregate_errors = 1
39let g:syntastic_always_populate_loc_list = 1
40let g:syntastic_auto_loc_list = 1
41let g:syntastic_check_on_open = 1
42let g:syntastic_check_on_wq = 0
43
44let g:vimtex_view_method = 'zathura'
45let g:vimtex_view_general_viewer = 'zathura'
46
47" au BufWrite * :Autoformat
48
49"let g:UltiSnipsExpandTrigger="<tab>"
50"let g:UltiSnipsJumpForwardTrigger="<c-b>"
51"let g:UltiSnipsJumpBackwardTrigger="<c-z>"
52
53au BufReadCmd *.wgt call zip#Browse(expand("<amatch>"))
54set nocompatible
55set number
56set ruler
57set smartindent
58set expandtab
59set tabstop=2
60set shiftwidth=2
61set hlsearch
62set nowrapscan
63set backspace=indent,eol,start
64set spelllang=en_gb,de
65set nospell
66"set listchars=tab:>-,trail:.
67"set list
68set nobackup
69set cursorline
70
71if has("gui_running")
72 set background=dark
73 colorscheme solarized
74 set guioptions-=T
75 if has("gui_gtk2")
76 set guifont=Terminus\ 12
77 elseif has("gui_macvim")
78 set guifont=Menlo\ Regular:h14
79 elseif has("gui_win32")
80 set guifont=Consolas:h11:cANSI
81 endif
82endif
83
84" more go stuff
85let g:go_fmt_command = "goimports"
86let g:go_highlight_functions = 1
87let g:go_highlight_methods = 1
88let g:go_highlight_structs = 1
89let g:go_highlight_operators = 1
90let g:go_highlight_build_constraints = 1
91
92let g:tagbar_type_go = {
93 \ 'ctagstype' : 'go',
94 \ 'kinds' : [
95 \ 'p:package',
96 \ 'i:imports:1',
97 \ 'c:constants',
98 \ 'v:variables',
99 \ 't:types',
100 \ 'n:interfaces',
101 \ 'w:fields',
102 \ 'e:embedded',
103 \ 'm:methods',
104 \ 'r:constructor',
105 \ 'f:functions'
106 \ ],
107 \ 'sro' : '.',
108 \ 'kind2scope' : {
109 \ 't' : 'ctype',
110 \ 'n' : 'ntype'
111 \ },
112 \ 'scope2kind' : {
113 \ 'ctype' : 't',
114 \ 'ntype' : 'n'
115 \ },
116 \ 'ctagsbin' : 'gotags',
117 \ 'ctagsargs' : '-sort -silent'
118 \ }
119

Built with git-ssb-web