-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
613 lines (507 loc) · 17.6 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
" NOTE: PlugClean to remove old plugs
let mapleader = " "
" nnoremap <Leader>u :exec ':!node scripts/setup.js upload ' . expand('%')<CR>
" nnoremap <Leader>t :exec ':!node scripts/setup.js run' . expand('%')<CR>
" nnoremap <Leader>tt :exec ':!node scripts/setup.js run '<CR>
"
" copy filename
" nnoremap <Leader>C :!echo '%' \| pbcopy"<cr>
" = VUNDLE > SETUP ===============================
" :PluginInstall - install vundles
" :h vundle - for help
set nocompatible
filetype off
call plug#begin('~/.vim/plugged')
Plug 'gmarik/vundle'
" ====== R FOR VIM ==============================
" # Nvim-R
" \rf " Connect to R console.
" \rq " Quit R console.
" \ro " Open object bowser.
" \d " Execute current line of code and move to the next line.
" \ss " Execute a block of selected code.
" \aa " Execute the entire script. This is equivalent to source().
" \xx " Toggle comment in an R script.
" via https://gist.github.com/rohitfarmer/68cdadeaeeb196e8a6ecdebdee6e76a5
Plug 'jalvesaq/Nvim-R', {'branch': 'stable'}
nnoremap <leader><CR> :call SendLineToR("stay")<CR><Down>
"inoremap <leader> <Esc>:call SendLineToR("stay")<CR><Down><Home>i
"vmap <leader><CR>:call SendLineToR("stay")<CR><Down>i
"
Plug 'ncm2/ncm2'
set completeopt=noinsert,menuone,noselect " :help Ncm2PopupOpen for more
Plug 'roxma/nvim-yarp'
Plug 'jalvesaq/Nvim-R'
" Async autocomplete for R, relies on nvimm-R
Plug 'gaalcaras/ncm-R'
" Vim 8 only
if !has('nvim')
Plug 'roxma/vim-hug-neovim-rpc'
endif
" Optional: for snippet support
" Further configuration might be required, read below
Plug 'SirVer/ultisnips'
Plug 'ncm2/ncm2-ultisnips'
Plug 'lervag/vimtex'
" E121: Undefined variable: latex
" E15: Invalid expression: latex
" vimtex: g:tex_flavor not specified
" Please read :help vimtex-tex-flavor!
let g:tex_flavor='latex'
autocmd BufEnter * call ncm2#enable_for_buffer()
" Optional: better Rnoweb support (LaTeX completion)
" Plug 'lervag/vimtex'
let R_in_buffer=0
let R_external_term = 'tilix -a session-add-right -e'
set noro " Not sure why R is using no write
" ==== END R FOR VIM ==============================
" Remember you can open newline when pressing double >>
Plug 'alvan/vim-closetag'
" = VUNDLE > NAVIGATING ==========================
" set rtp+=~/.fzf "OLD
set rtp+=/usr/local/opt/fzf " with homebrew install
Plug 'junegunn/fzf.vim'
map <c-p> :FZF<cr>
" Plug 'kien/ctrlp.vim'
" Plug 'JazzCore/ctrlp-cmatcher'
" let g:ctrlp_match_func = {'match' : 'matcher#cmatch' }
" let g:ctrlp_clear_cache_on_exit=0
" let g:ctrlp_max_files=100000
set wildignore+=*build/iPhone*,*.jar,*.class,*target
Plug 'scrooloose/nerdtree'
map <leader>f :NERDTreeFind<CR>
Plug 'schickling/vim-bufonly' "Additional buffer helpers
Plug 'jlanzarotta/bufexplorer'
let NERDTreeShowHidden=1
nnoremap <leader>n :NERDTreeToggle<CR>
let NERDTreeIgnore = ['.DS_STORE']
let g:NERDTreeWinPos = "left"
Plug 'rking/ag.vim'
nnoremap <leader>a :Ag!<space>
Plug 'Lokaltog/vim-easymotion'
nnoremap s <Plug>(easymotion-s2)
" TAGS
Plug 'xolox/vim-misc'
Plug 'xolox/vim-easytags'
let g:easytags_events = ['BufWritePost']
" NOT SURE IF conflicting with snippets Plug 'vim-scripts/ctags.vim' " make sure to brew install ctags
" open ctags link in new tab
nmap <Leader>] <C-w><C-]><C-w>T
"= JAVA ==========================================
" Plug 'tpope/vim-classpath'
Plug 'vim-scripts/groovy.vim'
set autoindent
set cindent
" = VUNDLE > COLORS / SYNTAX HELP ================
syntax enable
set t_co=256
let g:gruvbox_termcolors=16
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
" let $NVIM_TUI_ENABLE_TRUE_COLOR=0
" $NVIM_TUI_ENABLE_TRUE_COLOR
Plug 'wejrowski/vim-codeschool'
Plug 'ianks/gruvbox'
Plug 'mhartington/oceanic-next'
" Plug 'ap/vim-css-color' " THIS PLUGIN CAUSES LAG
" Plug 'stulzer/heroku-colorscheme'
Plug 'DAddYE/soda.vim'
" create a toggler plugin for ooptions like this?
function ToggleTheme()
if !exists("w:my_theme") || w:my_theme == 0
" let w:my_theme = 1
" set colorcolumn=0
" set cursorcolumn!
" noremap j gj
" noremap k gk
" set relativenumber!
" set wrap
" set linebreak
" set nolist " list disables linebreak
" color soda
let w:my_theme = 0
set colorcolumn=80
set cursorcolumn
noremap gj j
noremap gk k
"set relativenumber!
set wrap!
set linebreak!
set list " list disables linebreak
color codeschool
else
let w:my_theme = 0
set colorcolumn=80
set cursorcolumn
noremap gj j
noremap gk k
"set relativenumber!
set wrap!
set linebreak!
set list " list disables linebreak
color codeschool
endif
endfunction
noremap <leader>T :call ToggleTheme()<cr>
autocmd BufNewFile,BufRead *.ejs set filetype=html
Plug 'nikvdp/ejs-syntax'
" Plug 'ap/vim-css-color' " THIS PLUGIN CAUSES LAG
Plug 'pangloss/vim-javascript'
let javascript_enable_domhtmlcss = 1
Plug 'jelera/vim-javascript-syntax'
Plug 'vim-ruby/vim-ruby'
Plug 'tpope/vim-rails'
Plug 'benekastah/neomake' " Async syntastic
autocmd! BufWritePost * Neomake
let g:neomake_html_tidy_exec = 'tidy5'
" let g:neomake_mode_map = { 'mode': 'active',
" \ 'active_filetypes': ['python', 'javascript'],
" \ 'passive_filetypes': [] }
let g:neomake_loc_list_height = 5
let g:neomake_auto_loc_list = 0
let g:neomake_check_on_open = 1
let g:neomake_check_on_wq = 1
" _checker is syntastic, _maker is neomake (g:neomake_{language}_{makername}_maker)
" There are defaults which work for JS but you have to copy this over to use
" in html (https://github.com/neomake/neomake/blob/master/autoload/neomake/makers/ft/javascript.vim)
" let g:neomake_html_eslint_maker = {
" \ 'args': ['-f', 'compact'],
" \ 'errorformat': '%E%f: line %l\, col %c\, Error - %m,' .
" \ '%W%f: line %l\, col %c\, Warning - %m'
\ }
" let g:neomake_html_enabled_makers = ['eslint']
" let g:neomake_javascript_eslint_maker = {} " This is already default configured in neomake
" let g:neomake_javascript_enabled_makers = ['eslint']
let g:neomake_error_symbol = '❌'
let g:neomake_style_error_symbol = '⁉️'
let g:neomake_warning_symbol = '⚠️'
let g:neomake_style_warning_symbol = '💩'
highlight link SyntasticErrorSign SignColumn
highlight link SyntasticWarningSign SignColumn
highlight link SyntasticStyleErrorSign SignColumn
highlight link SyntasticStyleWarningSign SignColumn
Plug 'othree/html5.vim'
" Plug 'tpope/vim-markdown'
" Plug 'plasticboy/vim-markdown'
" Plug 'vim-pandoc/vim-pandoc-syntax'
Plug 'tpope/vim-haml'
Plug 'pangloss/vim-javascript'
au BufNewFile,BufRead *.scss,*.sass,*.styl syntax cluster sassCssAttributes add=@cssColors
Plug 'leafgarland/typescript-vim'
Plug 'kchmck/vim-coffee-script'
autocmd BufNewFile,BufRead *.coffee set filetype=coffee
autocmd BufNewFile,BufRead Gruntfile set filetype=javascript
autocmd BufNewFile,BufRead *.ts set filetype=javascript
" = VUNDLE > SHORTCUTS/HELPERS ===================
nnoremap <leader>C :!echo '%' \| pbcopy<CR>
Plug 'tpope/vim-commentary'
map <leader>c gcc<esc>
" Simple single line comments since commentary does not support this
" nnoremap <leader>/ :<c-u>execute "normal! I//\ "<cr>
" nnoremap <leader>? :<c-u>execute "normal! ^xxx"<cr>
function! CommentToggle()
execute ':silent! s/\([^ ]\)/\/\/ \1/'
execute ':silent! s/^\( *\)\/\/ \/\/ /\1/'
endfunction
nnoremap <leader>/ :call CommentToggle()<CR>
vnoremap <leader>/ :call CommentToggle()<CR>
Plug 'kana/vim-textobj-user' " vim-textobj-rubyblock dependency
Plug 'tmhedberg/matchit' " Required for rubyblock
Plug 'nelstrom/vim-textobj-rubyblock' " Selecting ruby blocks
Plug 'tpope/vim-endwise' " auto end ruby blocks
Plug 'groenewege/vim-markdown-preview'
Plug 'kshenoy/vim-signature' " Marker visuals
" GIT
Plug 'tpope/vim-fugitive' " GIT - Gblame etc.
Plug 'mhinz/vim-signify' " Left side git marks
Plug 'junegunn/gv.vim' " pretty glog
" Git shortcuts
nnoremap <leader>gb :Gblame<cr>
nnoremap <leader>gl :GV<cr>
nnoremap <leader>gd :Gdiffsplit<cr>
Plug 'tpope/vim-surround' " manipulate surrounding characters
Plug 'godlygeek/tabular' " pretty indents/formatting
Plug 'junegunn/vim-easy-align' " pretty align/indent with keys
" Start interactive EasyAlign in visual mode (e.g. vip<Enter>)
" vmap <Enter> <Plug>(EasyAlign)
" Start interactive EasyAlign for a motion/text object (e.g. gaip)
nmap ga <Plug>(EasyAlign)
Plug 'mattn/webapi-vim' " Needed for mattn/gist-vim
Plug 'mattn/gist-vim' " Create/edit gists in vim
com! JSON %!python -m json.tool
" Plug 'Valloric/YouCompleteMe'
Plug 'ervandew/supertab' " needed for auto complete etc
" DEOPLETE autocomplete
" - requires - brew install python3
function! DoRemote(arg)
UpdateRemotePlugins
endfunction
Plug 'Shougo/deoplete.nvim', { 'do': function('DoRemote') }
let g:deoplete#enable_at_startup = 1
" Use deoplete.
" let g:SuperTabDefaultCompletionType = "<c-n>" " Make the tabing on completion menu go from top to bottom
" let g:SuperTabClosePreviewOnPopupClose = 1 " Close the preview when completion ends
" let g:deoplete#enable_smart_case = 1
" Snippets separate from ultisnips plugin
Plug 'honza/vim-snippets'
" ctrl+tab to see snippets
let g:python_host_prog = '/usr/local/bin/python3'
" If you want :UltiSnipsEdit to split your window.
let g:UltiSnipsEditSplit='vertical'
" Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe.
" let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsExpandTrigger="<c-s>" " ctrl + s
let g:UltiSnipsJumpForwardTrigger="<c-b>"
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
" If you want :UltiSnipsEdit to split your window.
let g:UltiSnipsEditSplit="vertical"
" Plug 'garbas/vim-snipmate'
" VUNDLE > TESTING
Plug 'thoughtbot/vim-rspec'
" Plug 'skwp/vim-rspec'
" If using mvim
" let g:rspec_command = "silent !~/.vim/bundle/vim-rspec/bin/os_x_terminal 'zeus rspec {spec}'"
" let g:rspec_command = "compiler rspec | set makeprg=zeus | Make rspec {spec}"
let g:rspec_command = "!zeus rspec {spec}"
nnoremap <Leader>tt :call RunCurrentTestFile()<CR>
nnoremap <Leader>ts :call RunNearestTest()<CR>
nnoremap <Leader>ta :call RunAllTests()<CR>
function! RunCurrentTestFile()
let file_name = expand('%')
if match(file_name, '_test\.rb$') != -1
exec ":!zeus test ' . file_name
else
RunCurrentSpecFile()
endif
endfunction
function! RunNearestTest()
let file_name = expand('%')
"f match(a:filename, '\.rb$') != -1
if match(file_name, '\test\.rb$') != -1
exec ':!zeus test ' . file_name . ':' . line('.')
else
RunNearestSpec()
endif
endfunction
function! RunAllTests()
let file_name = expand('%')
if match(file_name, '_test\.rb$') != -1
exec ':!zeus test'
else
RunAllSpecs()
endif
endfunction
nnoremap <Leader>Tt :exec ':!zeus test ' . expand('%')<CR>
nnoremap <Leader>Ts :exec ':!zeus test ' . expand('%') . ':' . line('.')<CR>
nnoremap <Leader>Ta :exec ':!zeus test'<CR>
" Plug 'taylor/vim-zoomwin'
filetype plugin indent on " Required for vundle
"= GENERAL SETTINGS ==============================
nnoremap Q <nop>
set splitbelow
set splitright
set relativenumber!
set number
set guifont=Panic\ Sans:h12 " Monaco:h12
set guioptions-=T " Removes top toolbar
set guioptions-=r " Removes right hand scroll bar
set go-=L " Removes left hand scroll bar
set list
set listchars=trail:.
set colorcolumn=80
set cursorcolumn
set expandtab
set tabstop=4
set softtabstop=4
set softtabstop=4
set shiftwidth=4
" autocmd BufNewFile,BufRead *.js set tabstop=4
" autocmd BufNewFile,BufRead *.json set tabstop=4
" autocmd BufNewFile,BufRead *.json set shiftwidth=4
set ruler " Show row and col in footer
set incsearch
set hlsearch " Highlight search matches
set ignorecase " Ignore case in search
set backspace=2 " Fix vim backspace issue
set noswapfile
set laststatus=2 " Make use of statusbar
set statusline=%F%m%r%h%w%m\ \ %{fugitive#statusline()}\ %=[%l,%c]\ \ [%L,%p%%]
set undofile " Keep undo history between sessions
set undodir=~/.vim/undo
" With tmux, create bash alias: alias vim="reattach-to-user-namespace vim"
" and brew install reattach-to-user-namespace
" path auto completion (see :help compl-filename)
inoremap <C-L> <C-X><C-F>
" TODO: this ruins ctrl+p and silver search
" set autochdir " allow for relative directory auto completion
" Clear search underlines
nnoremap <leader>S :nohlsearch<CR>
nnoremap <Leader>s :%s/\<<C-r><C-w>\>//g<Left><Left>
nnoremap <leader>r :set relativenumber!<CR> " Toggle relative numbers
nnoremap <leader>w :w<CR>
nnoremap <leader>q :q<CR>
nnoremap <leader>Q :q!<CR>
" nnoremap <leader>qq :q!<CR>
" OR ZZ
" nnoremap <leader>wq :wq<CR>
" easy store in main clipboard for later usage (gv rehighlights selection)
vnoremap <leader>y "+ygv
noremap <leader>p "+p
onoremap Yw "+yiw
onoremap YW "+yiW
" make it easier to call a macro, and apply on multiple lines in v mode
" you can also do this by, in visual mode, calling :norm! @<key>
noremap <leader>d @d
vnoremap <leader>d :g/^/ norm @d<CR>:nohlsearch<CR>
" One handed nav
function ToggleEasyNav()
if !exists("w:easy_nav") || w:easy_nav == 0
let w:easy_nav = 1
noremap j <c-e>
noremap k <c-y>
else
let w:easy_nav = 0
noremap j gj
noremap k gk
endif
endfunction
noremap <leader>j :call ToggleEasyNav()<cr>
" Always move down a line on markdown only
autocmd FileType markdown noremap j gj
autocmd FileType markdown noremap k gk
autocmd FileType markdown noremap gj j
autocmd FileType markdown noremap gk k
" Easy resizing!
nnoremap - :vertical resize -1<CR>
nnoremap _ :vertical resize +1<CR>
nnoremap = :resize -1<CR>
nnoremap + :resize +1<CR>
" Quickly get inside next or previous parenthesis etc
onoremap in( :<c-u>execute "normal! /(\rlvi("<cr>
onoremap in) :<c-u>execute "normal! /)\rhvi("<cr>
onoremap il( :<c-u>execute "normal! /(\rNlvi("<cr>
onoremap il) :<c-u>execute "normal! /)\rNhvi("<cr>
onoremap in{ :<c-u>execute "normal! /{\rlvi{"<cr>
onoremap in} :<c-u>execute "normal! /}\rhvi{"<cr>
onoremap il{ :<c-u>execute "normal! /{\rNlvi{"<cr>
onoremap il} :<c-u>execute "normal! /}\rNhvi{"<cr>
onoremap in[ :<c-u>execute "normal! /[\rlvi["<cr>
onoremap in] :<c-u>execute "normal! /]\rhvi["<cr>
onoremap il[ :<c-u>execute "normal! /[\rNlvi["<cr>
onoremap il] :<c-u>execute "normal! /]\rNhvi["<cr>
" Easy edit/reload vimrc
nnoremap <leader>ev :tabe $MYVIMRC<cr>
nnoremap <leader>sv :source $MYVIMRC<cr>
" Save and load sessions (mks=mksession)
nnoremap <leader>ss :mks! ~/.vimsession<cr>
nnoremap <leader>sl :source ~/.vimsession<cr>
" open terminal tab
nnoremap <leader>t :-tabnew %<bar>te
" autocmd FileType markdown setlocal spell
autocmd FileType markdown set commentstring=<!--%s-->
autocmd FileType markdown set wrap
autocmd FileType markdown set linebreak
autocmd FileType markdown set nolist
" Use liquid highlighting in jekyll
au BufNewFile,BufRead */source/*.xml,*/source/*.html set ft=liquid
function RenameFile() " via Chris Hunt
let old_name = expand('%')
let new_name = input('New file name: ', expand('%'))
if new_name != '' && new_name != old_name
exec ':saveas ' . new_name
exec ':silent !rm ' . old_name
redraw!
endif
endfunction
nnoremap <leader>N :call RenameFile()<cr>
function! ExecuteFile(filename) " via Chris Hunt
:w
:silent !clear
if match(a:filename, '\.rb$') != -1
exec ":!ruby " . a:filename
elseif match(a:filename, '\.js$') != -1
exec ":!node " . a:filename
elseif match(a:filename, '\.sh$') != -1
exec ":!bash " . a:filename
else
exec ":!echo \"Don't know how to execute: \"" . a:filename
end
endfunction
nnoremap <leader>e :call ExecuteFile(expand("%"))<cr>
function! ExecuteRubyFileWithIRB(filename)
exec ":!ruby -e \"load '" . a:filename . "'; require 'irb'; IRB.start;\""
endfunction
nnoremap <leader>ee :call ExecuteRubyFileWithIRB(expand("%"))<cr>
" = TAB NAVIGATION ===============================
" (and to move a split to a tab use ctrl+w T)
nnoremap <D-H> :tabprev<CR>
nnoremap <D-L> :tabnext<CR>
nnoremap <leader>h :tabprev<CR>
nnoremap <leader>l :tabnext<CR>
nnoremap <leader>H :call MoveTabLeft()<CR>
nnoremap <leader>L :call MoveTabRight()<CR>
nnoremap <leader><leader>H :call MergeTabLeft()<CR>
nnoremap <leader><leader>L :call MergeTabRight()<CR>
" Merge a tab into a split in the previous tab
function MergeTabLeft()
"" Tab pages are not zero index
if tabpagenr() == 1
return
endif
let bufferName = bufname("%")
if tabpagenr("$") == tabpagenr()
close!
else
close!
tabprev
endif
split
execute "buffer" bufferName
endfunction
" Merge a tab into a split in the next tab
function MergeTabRight()
" Tab pages are not zero index
if tabpagenr() == tabpagenr("$")
return
endif
let bufferName = bufname("%")
if tabpagenr("$") == 1
close!
else
close!
tabN
endif
split
execute "buffer" bufferName
endfunction
function MoveTabRight()
if tabpagenr() == tabpagenr("$")
let moveTabs = (tabpagenr("$")-1)
execute "tabm -" . moveTabs
else
execute "tabm +1"
endif
endfunction
function MoveTabLeft()
if tabpagenr() == 1
let moveTabs = (tabpagenr("$")-1)
execute "tabm +" . moveTabs
else
execute "tabm -1"
endif
endfunction
" Navigate between buffers
nnoremap <C-l> :bnext<CR>
nnoremap <C-h> :bprevious<CR>
" Mark extra whitespace
highlight ExtraWhitespace ctermfg=15 ctermbg=red guifg=black guibg=red
match ExtraWhitespace /\s\+$/
autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
autocmd InsertLeave * match ExtraWhitespace /\s\+$/
" Remove all whitespace
nnoremap <leader>W :%s/\ \s*$//g
"Fix Air encoding NerdTree issue
let g:NERDTreeDirArrows=0
call plug#end()
colorscheme OceanicNext
" colorscheme gruvbox
" color codeschool