(Emacs)~some changes, checkout the message for details
~changed unicode true ~minor edits to text ~org-imenu-depth is set higher so it can be substituted for org-goto -+autotyping/gen-skeleton-abbrev as I'm using yasnippet now
This commit is contained in:
@@ -1529,7 +1529,7 @@ pretty symbols to eshell.
|
|||||||
(eshell-mode-hook
|
(eshell-mode-hook
|
||||||
("lambda" . "λ")
|
("lambda" . "λ")
|
||||||
("numberp" . "ℤ")
|
("numberp" . "ℤ")
|
||||||
("t" . "𝕋")
|
("t" . "⊤")
|
||||||
("nil" . "∅"))
|
("nil" . "∅"))
|
||||||
:general
|
:general
|
||||||
(leader
|
(leader
|
||||||
@@ -1784,8 +1784,7 @@ Setups for common major modes and languages.
|
|||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:HTML_CONTAINER: details
|
:HTML_CONTAINER: details
|
||||||
:END:
|
:END:
|
||||||
Standard packages and configurations for the text-mode. These
|
Standard packages and configurations for the text-mode.
|
||||||
configurations are usually further placed on
|
|
||||||
*** Flyspell
|
*** Flyspell
|
||||||
Flyspell allows me to quickly spell check text documents. I use
|
Flyspell allows me to quickly spell check text documents. I use
|
||||||
flyspell primarily in org mode, as that is my preferred prose writing
|
flyspell primarily in org mode, as that is my preferred prose writing
|
||||||
@@ -2062,6 +2061,7 @@ Tons of variables for org-mode, including a ton of latex ones.
|
|||||||
(org-goto-interface 'outline)
|
(org-goto-interface 'outline)
|
||||||
(org-src-window-setup 'current-window)
|
(org-src-window-setup 'current-window)
|
||||||
(org-indirect-buffer-display 'current-window)
|
(org-indirect-buffer-display 'current-window)
|
||||||
|
(org-imenu-depth 10)
|
||||||
(org-eldoc-breadcrumb-separator " → ")
|
(org-eldoc-breadcrumb-separator " → ")
|
||||||
(org-enforce-todo-dependencies t)
|
(org-enforce-todo-dependencies t)
|
||||||
(org-fontify-quote-and-verse-blocks t)
|
(org-fontify-quote-and-verse-blocks t)
|
||||||
@@ -2319,25 +2319,6 @@ opposing style.
|
|||||||
"\n"
|
"\n"
|
||||||
_)))
|
_)))
|
||||||
:config
|
:config
|
||||||
(with-eval-after-load "abbrev"
|
|
||||||
(+autotyping/gen-skeleton-abbrev
|
|
||||||
c-mode
|
|
||||||
"sgen"
|
|
||||||
"Name of item: "
|
|
||||||
str | "name" "\n"
|
|
||||||
"{\n"
|
|
||||||
> _ "\n"
|
|
||||||
"}\n")
|
|
||||||
|
|
||||||
(+autotyping/gen-skeleton-abbrev
|
|
||||||
c++-mode
|
|
||||||
"sgen"
|
|
||||||
"Name of item: "
|
|
||||||
> str | "name" "\n"
|
|
||||||
"{\n"
|
|
||||||
> _ "\n"
|
|
||||||
"}\n"))
|
|
||||||
|
|
||||||
(c-add-style
|
(c-add-style
|
||||||
"user"
|
"user"
|
||||||
'((c-basic-offset . 2)
|
'((c-basic-offset . 2)
|
||||||
@@ -2416,17 +2397,7 @@ book so it's useful to have some Emacs binds for it.
|
|||||||
("&&" . "∧")
|
("&&" . "∧")
|
||||||
("||" . "∨")
|
("||" . "∨")
|
||||||
("for" . "∀")
|
("for" . "∀")
|
||||||
("return" . "⟼"))
|
("return" . "⟼")))
|
||||||
:config
|
|
||||||
(with-eval-after-load "abbrev"
|
|
||||||
(+autotyping/gen-skeleton-abbrev
|
|
||||||
csharp-mode
|
|
||||||
"sgen"
|
|
||||||
"Name of item: "
|
|
||||||
str | "name" "\n"
|
|
||||||
"{\n"
|
|
||||||
> _ "\n"
|
|
||||||
"}\n")))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
** Java
|
** Java
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
@@ -2477,14 +2448,7 @@ book so it's useful to have some Emacs binds for it.
|
|||||||
(with-eval-after-load "abbrev"
|
(with-eval-after-load "abbrev"
|
||||||
(define-abbrev-table 'java-mode-abbrev-table nil)
|
(define-abbrev-table 'java-mode-abbrev-table nil)
|
||||||
(add-hook 'java-mode-hook
|
(add-hook 'java-mode-hook
|
||||||
(proc (setq-local local-abbrev-table java-mode-abbrev-table)))
|
(proc (setq-local local-abbrev-table java-mode-abbrev-table)))))
|
||||||
(+autotyping/gen-skeleton-abbrev
|
|
||||||
java-mode
|
|
||||||
"sgen"
|
|
||||||
"Name of item: "
|
|
||||||
str | "name" " {\n"
|
|
||||||
> _ "\n"
|
|
||||||
"}\n")))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
** Haskell
|
** Haskell
|
||||||
Haskell is a static lazy functional programming language (what a
|
Haskell is a static lazy functional programming language (what a
|
||||||
@@ -2498,6 +2462,8 @@ Here I configure the REPL for Haskell via the
|
|||||||
:hook
|
:hook
|
||||||
(haskell-mode-hook . haskell-indentation-mode)
|
(haskell-mode-hook . haskell-indentation-mode)
|
||||||
(haskell-mode-hook . interactive-haskell-mode)
|
(haskell-mode-hook . interactive-haskell-mode)
|
||||||
|
:custom
|
||||||
|
(haskell-interactive-popup-errors nil)
|
||||||
:general
|
:general
|
||||||
(leader
|
(leader
|
||||||
"th" #'+shell/toggle-haskell-repl)
|
"th" #'+shell/toggle-haskell-repl)
|
||||||
@@ -2604,7 +2570,7 @@ appropriately.
|
|||||||
(emacs-lisp-mode-hook
|
(emacs-lisp-mode-hook
|
||||||
("lambda" . "λ")
|
("lambda" . "λ")
|
||||||
("numberp" . "ℤ")
|
("numberp" . "ℤ")
|
||||||
("t" . "𝕋")
|
("t" . "⊤")
|
||||||
("nil" . "∅")
|
("nil" . "∅")
|
||||||
("and" . "∧")
|
("and" . "∧")
|
||||||
("or" . "∨")
|
("or" . "∨")
|
||||||
|
|||||||
Reference in New Issue
Block a user