Compare commits
4 Commits
05127bceae
...
e154958555
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e154958555 | ||
|
|
761d721b01 | ||
|
|
aa38142263 | ||
|
|
bb56509a21 |
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[submodule "fasm-mode"]
|
||||||
|
path = fasm-mode
|
||||||
|
url = https://github.com/GabrielFrigo4/fasm-mode
|
||||||
42
config.org
42
config.org
@@ -791,13 +791,6 @@
|
|||||||
(use-package crontab-mode)
|
(use-package crontab-mode)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Python
|
|
||||||
Going to use LSP for Python:
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(add-hook 'python-mode-hook #'lsp-deferred)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
** Ada
|
** Ada
|
||||||
*** Old ada-mode
|
*** Old ada-mode
|
||||||
Unfortunately, the =ada-mode= on ELPA is hot garbage. It requires
|
Unfortunately, the =ada-mode= on ELPA is hot garbage. It requires
|
||||||
@@ -1054,6 +1047,24 @@
|
|||||||
(use-package forth-mode)
|
(use-package forth-mode)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Fasm
|
||||||
|
The =fasm-mode= package wasn't on MELPA or ELPA, so I've instead
|
||||||
|
added it as a submodule of this repo. We therefore need to add it
|
||||||
|
to the load path:
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(let* ((home (getenv "HOME"))
|
||||||
|
(path (concat home "/.emacs.d/fasm-mode")))
|
||||||
|
(add-to-list 'load-path path))
|
||||||
|
(autoload 'fasm-mode "fasm-mode")
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
And then use it for =.asm= files:
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.asm\\'" . fasm-mode))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Tool Integrations
|
* Tool Integrations
|
||||||
** Git
|
** Git
|
||||||
=magit= is truly a wonderful creation! Add keybinding for
|
=magit= is truly a wonderful creation! Add keybinding for
|
||||||
@@ -1380,6 +1391,23 @@
|
|||||||
|
|
||||||
I think that's all I need for now!
|
I think that's all I need for now!
|
||||||
|
|
||||||
|
** Maxima
|
||||||
|
Maxima is an absolutely amazing tool for mathematical symbolic
|
||||||
|
processing. And to make matters better, it's lispy. It's giving
|
||||||
|
old school expert system but make it actually astonishingly useful
|
||||||
|
type shit.
|
||||||
|
|
||||||
|
The =maxima= package provides good Emacs integration, with syntax
|
||||||
|
highlighting for the DSL and a nice inferior process mode for the
|
||||||
|
interpreter. Files for the DSL conventionally have the ".mac"
|
||||||
|
extension, so want to open those files in =maxima-mode=.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package maxima
|
||||||
|
:mode ("\\.mac\\'" . maxima-mode)
|
||||||
|
:interpreter ("maxima" . maxima-mode))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Backup and Autosave
|
* Backup and Autosave
|
||||||
** Keep $PWD Tidy
|
** Keep $PWD Tidy
|
||||||
Emacs' default behaviour of dumping temporary files in the current
|
Emacs' default behaviour of dumping temporary files in the current
|
||||||
|
|||||||
1
fasm-mode
Submodule
1
fasm-mode
Submodule
Submodule fasm-mode added at d6578064bc
Reference in New Issue
Block a user