Compare commits
6 Commits
e154958555
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 735ef5225f | |||
| bd69a49bb5 | |||
| 111f9b710d | |||
| 686d6c94b6 | |||
| 33b44f11a0 | |||
| 314dd4aad6 |
53
config.org
53
config.org
@@ -399,6 +399,18 @@
|
||||
(setq org-adapt-indentation t)
|
||||
#+end_src
|
||||
|
||||
* Multiple Cursors
|
||||
I have been converted by Tsoding.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package multiple-cursors
|
||||
:config
|
||||
(global-set-key (kbd "C-S-c C-S-c") 'mc/edit-lines)
|
||||
(global-set-key (kbd "C->") 'mc/mark-next-like-this)
|
||||
(global-set-key (kbd "C-<") 'mc/mark-previous-like-this)
|
||||
(global-set-key (kbd "C-c C-<") 'mc/mark-all-like-this))
|
||||
#+end_src
|
||||
|
||||
* Language Integrations
|
||||
** Generic
|
||||
Generally, 8-character-wide tabs are not my thing.
|
||||
@@ -541,12 +553,6 @@
|
||||
(use-package rust-mode)
|
||||
#+end_src
|
||||
|
||||
Then =rust-analyzer= via LSP does the rest :)
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(add-hook 'rust-mode-hook #'lsp-deferred)
|
||||
#+end_src
|
||||
|
||||
** Lisps
|
||||
*** Common Lisp
|
||||
Use SLIME and Quicklisp for Common Lisp (SBCL).
|
||||
@@ -1065,6 +1071,32 @@
|
||||
(add-to-list 'auto-mode-alist '("\\.asm\\'" . fasm-mode))
|
||||
#+end_src
|
||||
|
||||
** OCaml
|
||||
For some reason the OCaml support package is called =tuareg=??
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package tuareg)
|
||||
#+end_src
|
||||
|
||||
OCaml also has its own build system, Dune. There's also a mode for
|
||||
Dune's files:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package dune)
|
||||
#+end_src
|
||||
|
||||
** Vala
|
||||
=vala-mode= provides everything I need:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package vala-mode)
|
||||
#+end_src
|
||||
|
||||
** ASN.1
|
||||
#+begin_src emacs-lisp
|
||||
(use-package asn1-mode)
|
||||
#+end_src
|
||||
|
||||
* Tool Integrations
|
||||
** Git
|
||||
=magit= is truly a wonderful creation! Add keybinding for
|
||||
@@ -1472,6 +1504,15 @@
|
||||
#+end_src
|
||||
|
||||
* Misc
|
||||
** Global key for [[help:align-regexp][align-regexp]]
|
||||
I didn't know it was a thing but now that I do, I need a
|
||||
keybinding. Hopefully it doesn't conflict with too many things
|
||||
haha.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(global-set-key (kbd "C-c a") 'align-regexp)
|
||||
#+end_src
|
||||
|
||||
** God mode
|
||||
God mode essentially makes Emacs a bit more VI-like by introducing
|
||||
a mode where modifier keys are implicitly held down, thereby
|
||||
|
||||
Reference in New Issue
Block a user