summaryrefslogtreecommitdiff
path: root/emacs/dotemacs
diff options
context:
space:
mode:
authorBrad Clawsie <brad@b7j0c.org>2022-09-02 16:16:52 -0500
committerBrad Clawsie <brad@b7j0c.org>2022-09-02 16:16:52 -0500
commit9c09801c761b56ba01eefa373b9134e93da960fe (patch)
treef49e6dcdec3b0274f9b6264cfb4bbee883e95169 /emacs/dotemacs
parentf414f600b1ee8f947abad380e0f8813df60e376a (diff)
f8 for rust compilation
Diffstat (limited to 'emacs/dotemacs')
-rw-r--r--emacs/dotemacs5
1 files changed, 3 insertions, 2 deletions
diff --git a/emacs/dotemacs b/emacs/dotemacs
index b497e1b..7a6bbe6 100644
--- a/emacs/dotemacs
+++ b/emacs/dotemacs
@@ -73,8 +73,8 @@
(global-set-key (kbd "<f4>") 'eshell)
(global-set-key (kbd "<f5>") 'rename-buffer)
;; f6 assigned to a function below
-;; f7 reserved for rust compilation below
-(global-set-key (kbd "<f8>") 'vterm)
+;; f7 reserved for rust testing below
+;; f8 reserved for rust compilation below
(fset 'switchbuffers
[?\C-x ?b])
(global-set-key (kbd "C-c b") 'switchbuffers)
@@ -188,6 +188,7 @@
(setq rustic-format-on-save t)
(add-hook 'rustic-mode-hook #'yas-minor-mode-on)
(global-set-key (kbd "<f7>") 'rustic-cargo-current-test)
+(global-set-key (kbd "<f8>") 'rustic-cargo-build)
;; -------------------------------------------------------------
;; proced