Fix grammar and whitespace
This commit is contained in:
parent
2f44f9c559
commit
c5aa3d894b
87
config.org
87
config.org
@ -15,7 +15,6 @@ needs to be set up to install them if they aren't already.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* UI
|
* UI
|
||||||
|
|
||||||
The start-up message gets pretty annoying, so disable that.
|
The start-up message gets pretty annoying, so disable that.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
@ -38,7 +37,6 @@ needs to be set up to install them if they aren't already.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Colour Scheme
|
** Colour Scheme
|
||||||
|
|
||||||
Currently using =spacemacs-theme='s light variant, but I prefer a pure
|
Currently using =spacemacs-theme='s light variant, but I prefer a pure
|
||||||
white background to the off-white it has by default.
|
white background to the off-white it has by default.
|
||||||
|
|
||||||
@ -52,10 +50,9 @@ needs to be set up to install them if they aren't already.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Org-mode
|
* Org-mode
|
||||||
|
I use a couple non-standard bits and pieces, but not a whole
|
||||||
I use a couple non-standard bits and pieces, but not a whole bunch. I
|
bunch. I really like the =<s= to insert a source block thing (which
|
||||||
really like the =<s= to insert a source block thing (which was
|
was deprecated); =org-tempo= brings that back.
|
||||||
deprecated); =org-tempo= brings that back.
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package org
|
(use-package org
|
||||||
@ -112,7 +109,6 @@ needs to be set up to install them if they aren't already.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Exporting
|
** Exporting
|
||||||
|
|
||||||
I very rarely want a table of contents, as most of my org documents
|
I very rarely want a table of contents, as most of my org documents
|
||||||
are pretty short.
|
are pretty short.
|
||||||
|
|
||||||
@ -121,8 +117,7 @@ needs to be set up to install them if they aren't already.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** HTML
|
*** HTML
|
||||||
|
=htmlize= is needed for decent HTML exporting, but there is no need
|
||||||
=htmlize= is needed for decent HTML exporting, and there is no need
|
|
||||||
for all that stuff at the bottom.
|
for all that stuff at the bottom.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
@ -131,7 +126,6 @@ needs to be set up to install them if they aren't already.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** LaTeX
|
*** LaTeX
|
||||||
|
|
||||||
Use =minted= (LaTeX package) to do syntax highlighting in code blocks:
|
Use =minted= (LaTeX package) to do syntax highlighting in code blocks:
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
@ -159,7 +153,6 @@ needs to be set up to install them if they aren't already.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Start up
|
* Start up
|
||||||
|
|
||||||
Org is better suited as scratch space than Funamental, I'd say.
|
Org is better suited as scratch space than Funamental, I'd say.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
@ -196,7 +189,6 @@ needs to be set up to install them if they aren't already.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** C
|
** C
|
||||||
|
|
||||||
For C, I like to indent with tabs and align with spaces: this
|
For C, I like to indent with tabs and align with spaces: this
|
||||||
behaviour is provided by =smart-tabs-mode=.
|
behaviour is provided by =smart-tabs-mode=.
|
||||||
|
|
||||||
@ -225,7 +217,6 @@ needs to be set up to install them if they aren't already.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Haskell
|
** Haskell
|
||||||
|
|
||||||
My workflow with Haskell is very REPL-based, so I always want
|
My workflow with Haskell is very REPL-based, so I always want
|
||||||
=interactive-haskell-mode= on.
|
=interactive-haskell-mode= on.
|
||||||
|
|
||||||
@ -244,7 +235,6 @@ needs to be set up to install them if they aren't already.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Idris
|
** Idris
|
||||||
|
|
||||||
The only thing to change from the defaults here is to add a more
|
The only thing to change from the defaults here is to add a more
|
||||||
convenient way to case-split.
|
convenient way to case-split.
|
||||||
|
|
||||||
@ -257,7 +247,6 @@ needs to be set up to install them if they aren't already.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Rust
|
** Rust
|
||||||
|
|
||||||
I never really use Rust without Cargo, so always turn on the minor
|
I never really use Rust without Cargo, so always turn on the minor
|
||||||
mode for Cargo in Rust buffers.
|
mode for Cargo in Rust buffers.
|
||||||
|
|
||||||
@ -270,50 +259,50 @@ needs to be set up to install them if they aren't already.
|
|||||||
** Lisps
|
** Lisps
|
||||||
|
|
||||||
*** Racket
|
*** Racket
|
||||||
Get =racket-mode= for some Racket-specific things, like searching documentation
|
Get =racket-mode= for some Racket-specific things, like searching documentation
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package racket-mode)
|
(use-package racket-mode)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Common Lisp
|
*** Common Lisp
|
||||||
Use SLIME and Quicklisp for Common Lisp (SBCL), with a convenient
|
Use SLIME and Quicklisp for Common Lisp (SBCL), with a convenient
|
||||||
binding for =slime-selector=
|
binding for =slime-selector=
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package slime)
|
(use-package slime)
|
||||||
(setq inferior-lisp-program "sbcl")
|
(setq inferior-lisp-program "sbcl")
|
||||||
(global-set-key (kbd "C-c s") 'slime-selector)
|
(global-set-key (kbd "C-c s") 'slime-selector)
|
||||||
(load (expand-file-name "~/.quicklisp/slime-helper.el"))
|
(load (expand-file-name "~/.quicklisp/slime-helper.el"))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
And we also want to enable execution of CL source blocks in Org
|
And we also want to enable execution of CL source blocks in Org
|
||||||
mode, which we do by adding an item to [[help:org-babel-load-languages][org-babel-load-languages]].
|
mode, which we do by adding an item to [[help:org-babel-load-languages][org-babel-load-languages]].
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(org-babel-do-load-languages
|
(org-babel-do-load-languages
|
||||||
'org-babel-load-languages
|
'org-babel-load-languages
|
||||||
'((lisp . t)))
|
'((lisp . t)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Paredit
|
*** Paredit
|
||||||
=paredit= is generally very useful for balancing parenthesis so we
|
=paredit= is generally very useful for balancing parenthesis so we
|
||||||
want that turned on for all the lisps. Additionally, it's nice to have
|
want that turned on for all the lisps. Additionally, it's nice to have
|
||||||
an entire expression highlighted when the cursor is on one of its
|
an entire expression highlighted when the cursor is on one of its
|
||||||
enclosing parens.
|
enclosing parens.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package paredit)
|
(use-package paredit)
|
||||||
(setq lispy-mode-hooks
|
(setq lispy-mode-hooks
|
||||||
'(emacs-lisp-mode-hook
|
'(emacs-lisp-mode-hook
|
||||||
lisp-mode-hook
|
lisp-mode-hook
|
||||||
racket-mode-hook
|
racket-mode-hook
|
||||||
scheme-mode-hook))
|
scheme-mode-hook))
|
||||||
(dolist (hook lispy-mode-hooks)
|
(dolist (hook lispy-mode-hooks)
|
||||||
(add-hook hook (lambda ()
|
(add-hook hook (lambda ()
|
||||||
(setq show-paren-style 'expression)
|
(setq show-paren-style 'expression)
|
||||||
(paredit-mode))))
|
(paredit-mode))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* EXWM
|
* EXWM
|
||||||
One must fulfil the meme of doing everything with Emacs...
|
One must fulfil the meme of doing everything with Emacs...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user