about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-09-02T16·14+0200
committerVincent Ambo <github@tazj.in>2019-02-10T20·43+0100
commit0cf7af4403ea17603fd3627c8791e9c8ab12de9b (patch)
tree1f40b58ed6a2b150c7c7b07d15df35e6453ede47
parentd74692acf20ee47ca7a87a7f164cea77a70256bd (diff)
fix(cargo): Disable keybinding for 'cargo clean'
-rw-r--r--init.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/init.el b/init.el
index ad03fdfad765..a29d79c22618 100644
--- a/init.el
+++ b/init.el
@@ -100,8 +100,10 @@
 ;; Packages providing language-specific functionality
 ;;
 
-(use-package cargo :hook ((rust-mode . cargo-minor-mode)
-                          (cargo-process-mode . visual-line-mode)))
+(use-package cargo
+  :hook ((rust-mode . cargo-minor-mode)
+         (cargo-process-mode . visual-line-mode))
+  :bind (:map cargo-minor-mode-map ("C-c C-c C-l" . ignore)))
 
 (use-package dockerfile-mode)