Setup vim for Rust (basic)
This commit is contained in:
parent
fe6902a615
commit
5586bfbf55
1 changed files with 5 additions and 1 deletions
|
@ -12,9 +12,10 @@ Plug 'tpope/vim-surround'
|
||||||
|
|
||||||
" languages
|
" languages
|
||||||
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
|
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
|
||||||
|
Plug 'hashivim/vim-terraform'
|
||||||
|
Plug 'rust-lang/rust.vim'
|
||||||
Plug 'tpope/vim-rails'
|
Plug 'tpope/vim-rails'
|
||||||
Plug 'vim-ruby/vim-ruby'
|
Plug 'vim-ruby/vim-ruby'
|
||||||
Plug 'hashivim/vim-terraform'
|
|
||||||
|
|
||||||
call plug#end()
|
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 ""'
|
let $FZF_DEFAULT_COMMAND = 'ag --hidden --ignore .git -g ""'
|
||||||
noremap <C-p> :FZF<CR>
|
noremap <C-p> :FZF<CR>
|
||||||
|
|
||||||
|
" rust.vim
|
||||||
|
let g:rustfmt_autosave = 1
|
||||||
|
|
||||||
" vim-bbye
|
" vim-bbye
|
||||||
nnoremap <silent> <Leader>bd :Bdelete<CR>
|
nnoremap <silent> <Leader>bd :Bdelete<CR>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue