feat: Emacs featureset update #18
|
@ -643,47 +643,6 @@ Add the necessary hooks for LilyPond mode.
|
||||||
(setq rustic-indent-offset standard-indent))
|
(setq rustic-indent-offset standard-indent))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** SCAD
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp :tangle packages.el
|
|
||||||
(package! scad-mode)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(use-package! scad-mode
|
|
||||||
:after-call scad-mode
|
|
||||||
:config
|
|
||||||
(add-hook 'scad-mode-hook #'custom/common-program-hook))
|
|
||||||
(map! :after scad-mode
|
|
||||||
:localleader
|
|
||||||
:map scad-mode-map
|
|
||||||
:desc "Open" "o" #'scad-open
|
|
||||||
:desc "Export" "e" #'scad-export
|
|
||||||
:desc "Preview" "p" #'scad-preview
|
|
||||||
)
|
|
||||||
(map! :after scad-mode
|
|
||||||
:mode scad-preview-mode
|
|
||||||
:map scad-preview-mode-map
|
|
||||||
:desc "Size+" "+" #'scad-preview-size+
|
|
||||||
:desc "Size-" "-" #'scad-preview-size-
|
|
||||||
:desc "Distance+" "[" #'scad-preview-distance+
|
|
||||||
:desc "Distance-" "]" #'scad-preview-distance-
|
|
||||||
:desc "Toggle Projection" "p" #'scad-preview-projection
|
|
||||||
:desc "Translate x-" "h" #'scad-preview-translate-x-
|
|
||||||
:desc "Translate x+" "l" #'scad-preview-translate-x+
|
|
||||||
:desc "Translate y-" "j" #'scad-preview-translate-y-
|
|
||||||
:desc "Translate y+" "k" #'scad-preview-translate-y+
|
|
||||||
:desc "Translate z-" "n" #'scad-preview-translate-z-
|
|
||||||
:desc "Translate z+" "m" #'scad-preview-translate-z+
|
|
||||||
:desc "Rotate x-" "H" #'scad-preview-rotate-x-
|
|
||||||
:desc "Rotate x+" "L" #'scad-preview-rotate-x+
|
|
||||||
:desc "Rotate y-" "J" #'scad-preview-rotate-y-
|
|
||||||
:desc "Rotate y+" "K" #'scad-preview-rotate-y+
|
|
||||||
:desc "Rotate z-" "N" #'scad-preview-rotate-z-
|
|
||||||
:desc "Rotate z+" "M" #'scad-preview-rotate-z+
|
|
||||||
)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
** Tools
|
** Tools
|
||||||
|
|
||||||
*** Language Server Protocol (LSP)
|
*** Language Server Protocol (LSP)
|
||||||
|
|
Loading…
Reference in New Issue