dotfiles/.vimrc

51 lines
1.4 KiB
VimL
Raw Normal View History

2021-07-07 21:59:54 -05:00
" 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'
2019-05-20 19:28:18 -05:00
2021-07-07 21:59:54 -05:00
" " List ends here. Plugins become visible to Vim after this call.
call plug#end()
2019-05-20 19:28:18 -05:00
2021-07-07 21:59:54 -05:00
" sensible defaults from syntastic
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
2019-05-20 19:28:18 -05:00
2021-07-07 21:59:54 -05:00
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
2019-05-20 19:28:18 -05:00
" 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
2021-07-07 21:59:54 -05:00
" set termguicolors
2019-05-20 19:28:18 -05:00
set laststatus=2
set mouse=a
set number
2019-05-20 20:38:10 -05:00
map <C-d> :NERDTreeFocus<CR>
2019-05-20 19:28:18 -05:00
syntax on
2021-07-07 21:59:54 -05:00
colorscheme deus