2024-04-10 21:04:47 -04:00
|
|
|
" Initialize vim-plug <https://github.com/junegunn/vim-plug>
|
2016-06-02 18:57:15 -04:00
|
|
|
|
2024-04-10 21:04:47 -04:00
|
|
|
call plug#begin()
|
|
|
|
" General usage plugins
|
|
|
|
Plug 'tpope/vim-fugitive'
|
|
|
|
Plug 'tpope/vim-git'
|
|
|
|
Plug 'tpope/vim-sensible'
|
|
|
|
Plug 'rust-lang/rust.vim'
|
|
|
|
Plug 'pearofducks/ansible-vim'
|
|
|
|
Plug 'airblade/vim-gitgutter'
|
|
|
|
Plug 'bling/vim-airline'
|
|
|
|
Plug 'vim-airline/vim-airline-themes'
|
|
|
|
Plug 'pangloss/vim-javascript'
|
|
|
|
Plug 'tpope/vim-surround'
|
|
|
|
Plug 'scrooloose/syntastic'
|
|
|
|
Plug 'hashivim/vim-terraform'
|
|
|
|
Plug 'tangledhelix/vim-kickstart'
|
|
|
|
Plug 'robbles/logstash.vim'
|
|
|
|
Plug 'yorokobi/vim-splunk'
|
2016-06-02 18:57:15 -04:00
|
|
|
|
2024-04-10 21:04:47 -04:00
|
|
|
" Colorschemes
|
|
|
|
"Plug 'Marfisc/vorange'
|
|
|
|
Plug 'xero/blaquemagick.vim'
|
|
|
|
"Plug 'jnurmine/Zenburn'
|
|
|
|
"Plug 'sjl/badwolf'
|
|
|
|
"Plug 'sheerun/vim-wombat-scheme'
|
|
|
|
"Plug 'dsolstad/vim-wombat256i'
|
|
|
|
"Plug 'altercation/vim-colors-solarized'
|
|
|
|
"Plug 'YorickPeterse/happy_hacking.vim'
|
|
|
|
"Plug 'owickstrom/vim-colors-paramount'
|
|
|
|
"Plug 'pbrisbin/vim-colors-off'
|
|
|
|
"Plug 'kristijanhusak/vim-hybrid-material'
|
|
|
|
"Plug 'ltlollo/diokai'
|
|
|
|
call plug#end()
|
2014-11-04 14:58:42 -05:00
|
|
|
|
2024-04-10 21:04:47 -04:00
|
|
|
set softtabstop=4
|
|
|
|
set shiftwidth=4
|
|
|
|
set tabstop=4
|
2014-11-04 14:58:42 -05:00
|
|
|
set number
|
2016-06-02 18:57:15 -04:00
|
|
|
"set smartindent
|
2024-04-10 21:04:47 -04:00
|
|
|
"set expandtab
|
2016-06-02 18:57:15 -04:00
|
|
|
set cindent
|
2014-11-04 14:58:42 -05:00
|
|
|
set list
|
2024-04-10 21:04:47 -04:00
|
|
|
set listchars=tab:»\ ,trail:·
|
|
|
|
"set listchars=tab:├\─,trail:▯
|
|
|
|
|
|
|
|
" Attempt to disable vim/mouse interactions
|
|
|
|
set mouse=
|
2014-11-04 14:58:42 -05:00
|
|
|
|
2016-06-02 18:57:15 -04:00
|
|
|
set foldmethod=marker
|
2014-11-04 14:58:42 -05:00
|
|
|
|
2016-06-02 18:57:15 -04:00
|
|
|
" Align the asterisks of c-style comments
|
2014-11-04 14:58:42 -05:00
|
|
|
set comments-=s1:/*,mb:*,ex:*/
|
|
|
|
set comments+=s:/*,mb:\ *,ex:\ */
|
|
|
|
set comments+=fb:*
|
|
|
|
|
2018-02-02 09:29:13 -05:00
|
|
|
" If uncommented highlight the focused line
|
|
|
|
"set cursorline
|
2016-09-20 17:15:15 -04:00
|
|
|
|
2016-06-02 18:57:15 -04:00
|
|
|
"set background=dark
|
|
|
|
"let g:badwolf_darkgutter=1
|
2024-04-10 21:04:47 -04:00
|
|
|
"colorscheme happy_hacking
|
|
|
|
colorscheme blaquemagick
|
2014-11-04 14:58:42 -05:00
|
|
|
|
2016-07-18 18:00:17 -04:00
|
|
|
let g:airline_powerline_fonts = 1
|
2016-09-12 15:05:54 -04:00
|
|
|
"let g:airline#extensions#whitespace#mixed_indent_algo = 1
|
2016-07-21 13:58:56 -04:00
|
|
|
|
2016-06-02 18:57:15 -04:00
|
|
|
let g:ansible_attribute_highlight = "ab"
|
2017-02-23 00:00:04 -05:00
|
|
|
|
2024-04-10 21:04:47 -04:00
|
|
|
let g:syntastic_check_on_open = 1
|
|
|
|
let g:syntastic_check_on_wq = 0
|
2021-01-20 21:50:13 -05:00
|
|
|
let g:syntastic_logstash_checkers = ['eslint']
|
2024-04-10 21:04:47 -04:00
|
|
|
let g:syntastic_javascript_checkers = ['eslint']
|
2021-01-20 21:50:13 -05:00
|
|
|
|
2017-02-23 00:00:04 -05:00
|
|
|
if &diff
|
|
|
|
else
|
|
|
|
silent sba
|
|
|
|
endif
|