diff options
Diffstat (limited to 'vimrc')
| -rw-r--r-- | vimrc | 15 |
1 files changed, 15 insertions, 0 deletions
| @@ -71,6 +71,19 @@ while c <= 'z' | |||
| 71 | endw | 71 | endw |
| 72 | set timeout ttimeoutlen=50 | 72 | set timeout ttimeoutlen=50 |
| 73 | 73 | ||
| 74 | |||
| 75 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | ||
| 76 | " => vim-racer | ||
| 77 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | ||
| 78 | set hidden | ||
| 79 | let g:racer_cmd = "/home/jojo/.cargo/bin/racer" | ||
| 80 | let g:racer_experimental_completer = 1 | ||
| 81 | |||
| 82 | au FileType rust nmap gd <Plug>(rust-def) | ||
| 83 | au FileType rust nmap gs <Plug>(rust-def-split) | ||
| 84 | au FileType rust nmap gx <Plug>(rust-def-vertical) | ||
| 85 | au FileType rust nmap <leader>gd <Plug>(rust-doc) | ||
| 86 | |||
| 74 | 87 | ||
| 75 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | 88 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
| 76 | " => vim-plug | 89 | " => vim-plug |
| @@ -86,6 +99,8 @@ Plug 'tpope/vim-surround' | |||
| 86 | Plug 'lifepillar/pgsql.vim' | 99 | Plug 'lifepillar/pgsql.vim' |
| 87 | Plug 'vimwiki/vimwiki' | 100 | Plug 'vimwiki/vimwiki' |
| 88 | Plug 'iberianpig/tig-explorer.vim' | 101 | Plug 'iberianpig/tig-explorer.vim' |
| 102 | Plug 'rust-lang/rust.vim' | ||
| 103 | Plug 'racer-rust/vim-racer' | ||
| 89 | 104 | ||
| 90 | " Initialize plugin system | 105 | " Initialize plugin system |
| 91 | call plug#end() | 106 | call plug#end() |