Commit 5b2415c5 authored by Sadman Kazi's avatar Sadman Kazi 🎸

Add rust racer plugin to vim

parent 6cddbc62
......@@ -21,6 +21,7 @@ Plugin 'VundleVim/Vundle.vim'
Bundle 'powerline/powerline', {'rtp': 'powerline/bindings/vim/'}
Plugin 'Valloric/YouCompleteMe'
Plugin 'easymotion/vim-easymotion'
Plugin 'racer-rust/vim-racer'
" All of your Plugins must be added before the following line
call vundle#end() " required
......@@ -49,6 +50,12 @@ set colorcolumn=80
nnoremap <tab> :tabnext<CR>
nnoremap <s-tab> :tabprevious<CR>
" Rust stuff "
au FileType rust nmap gd <Plug>(rust-def)
au FileType rust nmap gs <Plug>(rust-def-split)
au FileType rust nmap gx <Plug>(rust-def-vertical)
au FileType rust nmap <leader>gd <Plug>(rust-doc)
if has("gui_running")
set guioptions -=T
set guioptions -=m
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment