Compare commits
7 Commits
424aeea906
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
d71a35720f | ||
|
83c8819b26 | ||
|
dae83ddfea | ||
|
8004d554b9 | ||
|
0c8f9301c2 | ||
|
325b13ed8d | ||
|
a3624d9371 |
86
README.org
86
README.org
@@ -8,6 +8,7 @@
|
|||||||
- [[#git-ignore][Git Ignore]]
|
- [[#git-ignore][Git Ignore]]
|
||||||
- [[#configuration-files][Configuration Files]]
|
- [[#configuration-files][Configuration Files]]
|
||||||
- [[#initel][init.el]]
|
- [[#initel][init.el]]
|
||||||
|
- [[#start-of-initel][Start of init.el]]
|
||||||
- [[#input][Input]]
|
- [[#input][Input]]
|
||||||
- [[#completion][Completion]]
|
- [[#completion][Completion]]
|
||||||
- [[#user-interface][User Interface]]
|
- [[#user-interface][User Interface]]
|
||||||
@@ -21,6 +22,7 @@
|
|||||||
- [[#email][Email]]
|
- [[#email][Email]]
|
||||||
- [[#apps][Apps]]
|
- [[#apps][Apps]]
|
||||||
- [[#config][Config]]
|
- [[#config][Config]]
|
||||||
|
- [[#end-of-initel][End of init.el]]
|
||||||
- [[#configel][config.el]]
|
- [[#configel][config.el]]
|
||||||
- [[#user-configuration][User Configuration]]
|
- [[#user-configuration][User Configuration]]
|
||||||
- [[#user-interface-1][User Interface]]
|
- [[#user-interface-1][User Interface]]
|
||||||
@@ -65,10 +67,16 @@ This file controls which Doom modules are enabled and what order they load in. R
|
|||||||
|
|
||||||
Alternatively, press =gd= (or =C-c c d=) on a module to browse its directory (for easy access to its source code).
|
Alternatively, press =gd= (or =C-c c d=) on a module to browse its directory (for easy access to its source code).
|
||||||
|
|
||||||
|
*** Start of init.el
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp :tangle init.el
|
||||||
|
(doom!
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
*** Input
|
*** Input
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp :tangle init.el
|
#+BEGIN_SRC emacs-lisp :tangle init.el
|
||||||
(doom! :input
|
:input
|
||||||
;;bidi ; (tfel ot) thgir etirw uoy gnipleh
|
;;bidi ; (tfel ot) thgir etirw uoy gnipleh
|
||||||
;;chinese
|
;;chinese
|
||||||
;;japanese
|
;;japanese
|
||||||
@@ -79,7 +87,7 @@ Alternatively, press =gd= (or =C-c c d=) on a module to browse its directory (fo
|
|||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp :tangle init.el
|
#+BEGIN_SRC emacs-lisp :tangle init.el
|
||||||
:completion
|
:completion
|
||||||
(company +tng) ; the ultimate code completion backend
|
company ; the ultimate code completion backend
|
||||||
;;helm ; the *other* search engine for love and life
|
;;helm ; the *other* search engine for love and life
|
||||||
;;ido ; the other *other* search engine...
|
;;ido ; the other *other* search engine...
|
||||||
;;ivy ; a search engine for love and life
|
;;ivy ; a search engine for love and life
|
||||||
@@ -170,9 +178,9 @@ Alternatively, press =gd= (or =C-c c d=) on a module to browse its directory (fo
|
|||||||
;;ansible
|
;;ansible
|
||||||
;;biblio ; Writes a PhD for you (citation needed)
|
;;biblio ; Writes a PhD for you (citation needed)
|
||||||
(debugger +lsp) ; FIXME stepping through code, to help you add bugs
|
(debugger +lsp) ; FIXME stepping through code, to help you add bugs
|
||||||
;;direnv
|
direnv
|
||||||
(docker +lsp)
|
(docker +lsp)
|
||||||
;;editorconfig ; let someone else argue about tabs vs spaces
|
editorconfig ; let someone else argue about tabs vs spaces
|
||||||
ein ; tame Jupyter notebooks with emacs
|
ein ; tame Jupyter notebooks with emacs
|
||||||
(eval +overlay) ; run code, run (also, repls)
|
(eval +overlay) ; run code, run (also, repls)
|
||||||
;;gist ; interacting with github gists
|
;;gist ; interacting with github gists
|
||||||
@@ -238,7 +246,7 @@ Alternatively, press =gd= (or =C-c c d=) on a module to browse its directory (fo
|
|||||||
(latex +cdlatex +latexmk +lsp) ; writing papers in Emacs has never been so fun
|
(latex +cdlatex +latexmk +lsp) ; writing papers in Emacs has never been so fun
|
||||||
;;lean ; for folks with too much to prove
|
;;lean ; for folks with too much to prove
|
||||||
;;ledger ; be audit you can be
|
;;ledger ; be audit you can be
|
||||||
;;lua ; one-based indices? one-based indices
|
(lua +lsp +tree-sitter) ; one-based indices? one-based indices
|
||||||
(markdown +grip) ; writing docs for people to ignore
|
(markdown +grip) ; writing docs for people to ignore
|
||||||
;;nim ; python + lisp at the speed of c
|
;;nim ; python + lisp at the speed of c
|
||||||
(nix +lsp +tree-sitter) ; I hereby declare "nix geht mehr!"
|
(nix +lsp +tree-sitter) ; I hereby declare "nix geht mehr!"
|
||||||
@@ -293,7 +301,13 @@ Alternatively, press =gd= (or =C-c c d=) on a module to browse its directory (fo
|
|||||||
#+BEGIN_SRC emacs-lisp :tangle init.el
|
#+BEGIN_SRC emacs-lisp :tangle init.el
|
||||||
:config
|
:config
|
||||||
;;literate
|
;;literate
|
||||||
(default +bindings +smartparens))
|
(default +bindings +smartparens)
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
*** End of init.el
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp :tangle init.el
|
||||||
|
)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** config.el
|
** config.el
|
||||||
@@ -386,7 +400,7 @@ There are two ways to load a theme. Both assume the theme is installed and avail
|
|||||||
This determines the style of line numbers in effect. If set to =nil=, line numbers are disabled. For relative line numbers, set this to =relative=.
|
This determines the style of line numbers in effect. If set to =nil=, line numbers are disabled. For relative line numbers, set this to =relative=.
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||||
(setq display-line-numbers-type t)
|
(setq display-line-numbers-type 'relative)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
**** Tab Width
|
**** Tab Width
|
||||||
@@ -745,14 +759,6 @@ If you use =org= and don't want your org files in the default location below, ch
|
|||||||
(org-colors-dracula))
|
(org-colors-dracula))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
**** Superstar
|
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
|
||||||
(setq org-superstar-headline-bullets-list '("◉" "●" "○" "◆" "●" "○" "◆"))
|
|
||||||
(setq org-superstar-item-bullet-alist '((?+ . ?➤) (?- . ?✦))) ; changes +/- symbols in item lists
|
|
||||||
(add-hook! org-mode (org-superstar-mode))
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
*** Markdown
|
*** Markdown
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||||
@@ -807,41 +813,6 @@ Revert buffers when the underlying file has changed
|
|||||||
|
|
||||||
*** Debugging
|
*** Debugging
|
||||||
|
|
||||||
**** Keybindings
|
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
|
||||||
(map! :map dap-mode-map
|
|
||||||
:leader
|
|
||||||
:prefix ("d" . "dap")
|
|
||||||
;; basics
|
|
||||||
:desc "dap next" "n" #'dap-next
|
|
||||||
:desc "dap step in" "i" #'dap-step-in
|
|
||||||
:desc "dap step out" "o" #'dap-step-out
|
|
||||||
:desc "dap continue" "c" #'dap-continue
|
|
||||||
:desc "dap hydra" "h" #'dap-hydra
|
|
||||||
:desc "dap debug restart" "r" #'dap-debug-restart
|
|
||||||
:desc "dap debug" "s" #'dap-debug
|
|
||||||
|
|
||||||
;; debug
|
|
||||||
:prefix ("dd" . "Debug")
|
|
||||||
:desc "dap debug recent" "r" #'dap-debug-recent
|
|
||||||
:desc "dap debug last" "l" #'dap-debug-last
|
|
||||||
|
|
||||||
;; eval
|
|
||||||
:prefix ("de" . "Eval")
|
|
||||||
:desc "eval" "e" #'dap-eval
|
|
||||||
:desc "eval region" "r" #'dap-eval-region
|
|
||||||
:desc "eval thing at point" "s" #'dap-eval-thing-at-point
|
|
||||||
:desc "add expression" "a" #'dap-ui-expressions-add
|
|
||||||
:desc "remove expression" "d" #'dap-ui-expressions-remove
|
|
||||||
|
|
||||||
:prefix ("db" . "Breakpoint")
|
|
||||||
:desc "dap breakpoint toggle" "b" #'dap-breakpoint-toggle
|
|
||||||
:desc "dap breakpoint condition" "c" #'dap-breakpoint-condition
|
|
||||||
:desc "dap breakpoint hit count" "h" #'dap-breakpoint-hit-condition
|
|
||||||
:desc "dap breakpoint log message" "l" #'dap-breakpoint-log-message)
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
**** Python
|
**** Python
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||||
@@ -935,19 +906,24 @@ Doom's packages are pinned to a specific commit and updated from release to rele
|
|||||||
|
|
||||||
*** Packages
|
*** Packages
|
||||||
|
|
||||||
|
**** Org Auto Tangle
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp :tangle packages.el
|
#+BEGIN_SRC emacs-lisp :tangle packages.el
|
||||||
(package! org-auto-tangle)
|
(package! org-auto-tangle)
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
**** Language Syntax Highlighting
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp :tangle packages.el
|
||||||
(package! git-modes)
|
(package! git-modes)
|
||||||
(package! vimrc-mode)
|
(package! vimrc-mode)
|
||||||
(package! prettier-js)
|
(package! prettier-js)
|
||||||
(package! rainbow-mode)
|
(package! rainbow-mode)
|
||||||
(package! systemd)
|
(package! systemd)
|
||||||
(package! pkgbuild-mode)
|
|
||||||
(package! lua-mode)
|
|
||||||
(package! just-mode)
|
(package! just-mode)
|
||||||
(package! nix-mode)
|
|
||||||
(package! yuck-mode)
|
|
||||||
(package! ebuild-mode)
|
|
||||||
(package! sxhkd-mode
|
(package! sxhkd-mode
|
||||||
:recipe (:host github :repo "xFA25E/sxhkd-mode"))
|
:recipe (:host github :repo "xFA25E/sxhkd-mode"))
|
||||||
|
(package! ebuild-mode)
|
||||||
|
(package! portage-modes
|
||||||
|
:recipe (:host github :repo "OpenSauce04/portage-modes"))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
37
config.el
37
config.el
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
(doom/set-frame-opacity 95)
|
(doom/set-frame-opacity 95)
|
||||||
|
|
||||||
(setq display-line-numbers-type t)
|
(setq display-line-numbers-type 'relative)
|
||||||
|
|
||||||
(setq-default tab-width 4)
|
(setq-default tab-width 4)
|
||||||
|
|
||||||
@@ -158,10 +158,6 @@
|
|||||||
;; Load our desired org-colors-* theme on startup
|
;; Load our desired org-colors-* theme on startup
|
||||||
(org-colors-dracula))
|
(org-colors-dracula))
|
||||||
|
|
||||||
(setq org-superstar-headline-bullets-list '("◉" "●" "○" "◆" "●" "○" "◆"))
|
|
||||||
(setq org-superstar-item-bullet-alist '((?+ . ?➤) (?- . ?✦))) ; changes +/- symbols in item lists
|
|
||||||
(add-hook! org-mode (org-superstar-mode))
|
|
||||||
|
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
'(markdown-header-face ((t (:inherit font-lock-function-name-face :weight bold :family "variable-pitch"))))
|
'(markdown-header-face ((t (:inherit font-lock-function-name-face :weight bold :family "variable-pitch"))))
|
||||||
'(markdown-header-face-1 ((t (:inherit markdown-header-face :height 1.8))))
|
'(markdown-header-face-1 ((t (:inherit markdown-header-face :height 1.8))))
|
||||||
@@ -184,37 +180,6 @@
|
|||||||
(lambda () (rainbow-mode 1)))
|
(lambda () (rainbow-mode 1)))
|
||||||
(global-rainbow-mode 1)
|
(global-rainbow-mode 1)
|
||||||
|
|
||||||
(map! :map dap-mode-map
|
|
||||||
:leader
|
|
||||||
:prefix ("d" . "dap")
|
|
||||||
;; basics
|
|
||||||
:desc "dap next" "n" #'dap-next
|
|
||||||
:desc "dap step in" "i" #'dap-step-in
|
|
||||||
:desc "dap step out" "o" #'dap-step-out
|
|
||||||
:desc "dap continue" "c" #'dap-continue
|
|
||||||
:desc "dap hydra" "h" #'dap-hydra
|
|
||||||
:desc "dap debug restart" "r" #'dap-debug-restart
|
|
||||||
:desc "dap debug" "s" #'dap-debug
|
|
||||||
|
|
||||||
;; debug
|
|
||||||
:prefix ("dd" . "Debug")
|
|
||||||
:desc "dap debug recent" "r" #'dap-debug-recent
|
|
||||||
:desc "dap debug last" "l" #'dap-debug-last
|
|
||||||
|
|
||||||
;; eval
|
|
||||||
:prefix ("de" . "Eval")
|
|
||||||
:desc "eval" "e" #'dap-eval
|
|
||||||
:desc "eval region" "r" #'dap-eval-region
|
|
||||||
:desc "eval thing at point" "s" #'dap-eval-thing-at-point
|
|
||||||
:desc "add expression" "a" #'dap-ui-expressions-add
|
|
||||||
:desc "remove expression" "d" #'dap-ui-expressions-remove
|
|
||||||
|
|
||||||
:prefix ("db" . "Breakpoint")
|
|
||||||
:desc "dap breakpoint toggle" "b" #'dap-breakpoint-toggle
|
|
||||||
:desc "dap breakpoint condition" "c" #'dap-breakpoint-condition
|
|
||||||
:desc "dap breakpoint hit count" "h" #'dap-breakpoint-hit-condition
|
|
||||||
:desc "dap breakpoint log message" "l" #'dap-breakpoint-log-message)
|
|
||||||
|
|
||||||
(after! dap-mode
|
(after! dap-mode
|
||||||
(setq dap-python-debugger 'debugpy))
|
(setq dap-python-debugger 'debugpy))
|
||||||
|
|
||||||
|
16
init.el
16
init.el
@@ -1,13 +1,15 @@
|
|||||||
;;; init.el -*- lexical-binding: t; -*-
|
;;; init.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
(doom! :input
|
(doom!
|
||||||
|
|
||||||
|
:input
|
||||||
;;bidi ; (tfel ot) thgir etirw uoy gnipleh
|
;;bidi ; (tfel ot) thgir etirw uoy gnipleh
|
||||||
;;chinese
|
;;chinese
|
||||||
;;japanese
|
;;japanese
|
||||||
;;layout ; auie,ctsrnm is the superior home row
|
;;layout ; auie,ctsrnm is the superior home row
|
||||||
|
|
||||||
:completion
|
:completion
|
||||||
(company +tng) ; the ultimate code completion backend
|
company ; the ultimate code completion backend
|
||||||
;;helm ; the *other* search engine for love and life
|
;;helm ; the *other* search engine for love and life
|
||||||
;;ido ; the other *other* search engine...
|
;;ido ; the other *other* search engine...
|
||||||
;;ivy ; a search engine for love and life
|
;;ivy ; a search engine for love and life
|
||||||
@@ -74,9 +76,9 @@
|
|||||||
;;ansible
|
;;ansible
|
||||||
;;biblio ; Writes a PhD for you (citation needed)
|
;;biblio ; Writes a PhD for you (citation needed)
|
||||||
(debugger +lsp) ; FIXME stepping through code, to help you add bugs
|
(debugger +lsp) ; FIXME stepping through code, to help you add bugs
|
||||||
;;direnv
|
direnv
|
||||||
(docker +lsp)
|
(docker +lsp)
|
||||||
;;editorconfig ; let someone else argue about tabs vs spaces
|
editorconfig ; let someone else argue about tabs vs spaces
|
||||||
ein ; tame Jupyter notebooks with emacs
|
ein ; tame Jupyter notebooks with emacs
|
||||||
(eval +overlay) ; run code, run (also, repls)
|
(eval +overlay) ; run code, run (also, repls)
|
||||||
;;gist ; interacting with github gists
|
;;gist ; interacting with github gists
|
||||||
@@ -134,7 +136,7 @@
|
|||||||
(latex +cdlatex +latexmk +lsp) ; writing papers in Emacs has never been so fun
|
(latex +cdlatex +latexmk +lsp) ; writing papers in Emacs has never been so fun
|
||||||
;;lean ; for folks with too much to prove
|
;;lean ; for folks with too much to prove
|
||||||
;;ledger ; be audit you can be
|
;;ledger ; be audit you can be
|
||||||
;;lua ; one-based indices? one-based indices
|
(lua +lsp +tree-sitter) ; one-based indices? one-based indices
|
||||||
(markdown +grip) ; writing docs for people to ignore
|
(markdown +grip) ; writing docs for people to ignore
|
||||||
;;nim ; python + lisp at the speed of c
|
;;nim ; python + lisp at the speed of c
|
||||||
(nix +lsp +tree-sitter) ; I hereby declare "nix geht mehr!"
|
(nix +lsp +tree-sitter) ; I hereby declare "nix geht mehr!"
|
||||||
@@ -177,4 +179,6 @@
|
|||||||
|
|
||||||
:config
|
:config
|
||||||
;;literate
|
;;literate
|
||||||
(default +bindings +smartparens))
|
(default +bindings +smartparens)
|
||||||
|
|
||||||
|
)
|
||||||
|
@@ -2,16 +2,15 @@
|
|||||||
;;; $DOOMDIR/packages.el
|
;;; $DOOMDIR/packages.el
|
||||||
|
|
||||||
(package! org-auto-tangle)
|
(package! org-auto-tangle)
|
||||||
|
|
||||||
(package! git-modes)
|
(package! git-modes)
|
||||||
(package! vimrc-mode)
|
(package! vimrc-mode)
|
||||||
(package! prettier-js)
|
(package! prettier-js)
|
||||||
(package! rainbow-mode)
|
(package! rainbow-mode)
|
||||||
(package! systemd)
|
(package! systemd)
|
||||||
(package! pkgbuild-mode)
|
|
||||||
(package! lua-mode)
|
|
||||||
(package! just-mode)
|
(package! just-mode)
|
||||||
(package! nix-mode)
|
|
||||||
(package! yuck-mode)
|
|
||||||
(package! ebuild-mode)
|
|
||||||
(package! sxhkd-mode
|
(package! sxhkd-mode
|
||||||
:recipe (:host github :repo "xFA25E/sxhkd-mode"))
|
:recipe (:host github :repo "xFA25E/sxhkd-mode"))
|
||||||
|
(package! ebuild-mode)
|
||||||
|
(package! portage-modes
|
||||||
|
:recipe (:host github :repo "OpenSauce04/portage-modes"))
|
||||||
|
Reference in New Issue
Block a user