Compare commits
2 Commits
92cf668e63
...
ab3a0ce04f
Author | SHA1 | Date |
---|---|---|
Leni Aniva | ab3a0ce04f | |
Leni Aniva | ec4af50a10 |
|
@ -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)
|
||||||
|
|
|
@ -95,8 +95,8 @@
|
||||||
(eval +overlay) ; run code, run (also, repls)
|
(eval +overlay) ; run code, run (also, repls)
|
||||||
;;gist ; interacting with github gists
|
;;gist ; interacting with github gists
|
||||||
lookup ; navigate your code and its documentation
|
lookup ; navigate your code and its documentation
|
||||||
(lsp +peek) ; M-x vscode
|
(lsp +peek +eglot) ; M-x vscode
|
||||||
magit ; a git porcelain for Emacs
|
(magit +forge) ; a git porcelain for Emacs
|
||||||
make ; run make tasks from Emacs
|
make ; run make tasks from Emacs
|
||||||
pass ; password manager for nerds
|
pass ; password manager for nerds
|
||||||
pdf ; pdf enhancements
|
pdf ; pdf enhancements
|
||||||
|
|
Loading…
Reference in New Issue