File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -254,6 +254,15 @@ Autocompletion config for launch files.
254
254
(use-package scad-mode
255
255
:load-path "~/.spacemacs.d/private/scad-mode")
256
256
(add-hook 'scad-mode-hook 'flymake-mode-on)
257
+ (with-eval-after-load 'scad-mode
258
+ (define-key scad-preview-mode-map (kbd "C-h") 'scad-preview-rotate-z-)
259
+ (define-key scad-preview-mode-map (kbd "C-l") 'scad-preview-rotate-z+)
260
+ (define-key scad-preview-mode-map (kbd "C-k") 'scad-preview-rotate-x-)
261
+ (define-key scad-preview-mode-map (kbd "C-j") 'scad-preview-rotate-x+)
262
+ (define-key scad-preview-mode-map (kbd "M-h") 'scad-preview-distance-)
263
+ (define-key scad-preview-mode-map (kbd "M-l") 'scad-preview-distance+)
264
+ (define-key scad-preview-mode-map (kbd "M-k") 'scad-preview-translate-z+)
265
+ (define-key scad-preview-mode-map (kbd "M-j") 'scad-preview-translate-z-))
257
266
#+END_SRC
258
267
*** Style for linux kernel development
259
268
#+BEGIN_SRC emacs-lisp :tangle user-config.el
You can’t perform that action at this time.
0 commit comments