nvim: after/ftplugin/rust: Add Dispatch commands for cargo build
Add cargo build commands using dispatch similar to the ones we have defined in fish.
This commit is contained in:
parent
3ce0fbf73d
commit
4cc5fb67c9
1 changed files with 5 additions and 0 deletions
|
@ -13,3 +13,8 @@ nnoremap <buffer> <Leader>rd :RustMoveItemDown<CR>
|
|||
nnoremap <buffer> <Leader>ru :RustMoveItemUp<CR>
|
||||
nnoremap <buffer> <Leader>rs :RustStartStandaloneServerForBuffer<CR>
|
||||
nnoremap <buffer> <Leader>rg :RustViewCrateGraph<CR>
|
||||
|
||||
nnoremap <buffer> cbb :Dispatch! cargo build<CR>
|
||||
nnoremap <buffer> cbc :Dispatch! cargo clean<CR>
|
||||
nnoremap <buffer> cbd :Dispatch! cargo doc<CR>
|
||||
nnoremap <buffer> cbu :Dispatch! cargo update<CR>
|
||||
|
|
Loading…
Reference in a new issue