dotfiles/.vimrc
2021-07-07 22:59:54 -04:00

51 lines
1.4 KiB
VimL

" Plugins will be downloaded under the specified directory.
call plug#begin(has('nvim') ? stdpath('data') . '/plugged' :'~/.vim/plugged')
"
" " Declare the list of plugins.
Plug 'tpope/vim-sensible'
Plug 'ajmwagar/vim-deus'
Plug 'raimondi/delimitmate'
Plug 'junegunn/fzf'
Plug 'shougo/neocomplete.vim'
Plug 'scrooloose/nerdtree'
Plug 'netrw.vim'
Plug 'scrooloose/syntastic'
Plug 'rust-lang/rust.vim'
Plug 'godlygeek/tabular'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'fsharp/vim-fsharp'
Plug 'fatih/vim-go'
Plug 'sheerun/vim-polyglot'
Plug 'anyakichi/vim-surround'
Plug 'valloric/youcompleteme'
Plug 'rhysd/vim-crystal'
Plug 'vim-ruby/vim-ruby'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'ayu-theme/ayu-vim'
" " List ends here. Plugins become visible to Vim after this call.
call plug#end()
" sensible defaults from 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
" things that don't make my life a living hell lolz
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | endif
set background=dark
" set termguicolors
set laststatus=2
set mouse=a
set number
map <C-d> :NERDTreeFocus<CR>
syntax on
colorscheme deus