Setup vim for Rust (basic)

This commit is contained in:
Andrew Tomaka 2022-05-18 10:45:30 -04:00
parent fe6902a615
commit 5586bfbf55
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -12,9 +12,10 @@ Plug 'tpope/vim-surround'
" languages
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
Plug 'hashivim/vim-terraform'
Plug 'rust-lang/rust.vim'
Plug 'tpope/vim-rails'
Plug 'vim-ruby/vim-ruby'
Plug 'hashivim/vim-terraform'
call plug#end()
@ -115,6 +116,9 @@ map <Leader>gg :exe "!hub gist create -o %:p"<cr><cr>
let $FZF_DEFAULT_COMMAND = 'ag --hidden --ignore .git -g ""'
noremap <C-p> :FZF<CR>
" rust.vim
let g:rustfmt_autosave = 1
" vim-bbye
nnoremap <silent> <Leader>bd :Bdelete<CR>