Init.el Cleanup and Relative Line Mode
- Remove whitespace in init.el - Use built-in lua and nix language support instead of external packages - Enable relative line mode
This commit is contained in:
24
README.org
24
README.org
@@ -8,6 +8,7 @@
|
||||
- [[#git-ignore][Git Ignore]]
|
||||
- [[#configuration-files][Configuration Files]]
|
||||
- [[#initel][init.el]]
|
||||
- [[#start-of-initel][Start of init.el]]
|
||||
- [[#input][Input]]
|
||||
- [[#completion][Completion]]
|
||||
- [[#user-interface][User Interface]]
|
||||
@@ -21,6 +22,7 @@
|
||||
- [[#email][Email]]
|
||||
- [[#apps][Apps]]
|
||||
- [[#config][Config]]
|
||||
- [[#end-of-initel][End of init.el]]
|
||||
- [[#configel][config.el]]
|
||||
- [[#user-configuration][User Configuration]]
|
||||
- [[#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).
|
||||
|
||||
*** Start of init.el
|
||||
|
||||
#+BEGIN_SRC emacs-lisp :tangle init.el
|
||||
(doom!
|
||||
#+END_SRC
|
||||
|
||||
*** Input
|
||||
|
||||
#+BEGIN_SRC emacs-lisp :tangle init.el
|
||||
(doom! :input
|
||||
:input
|
||||
;;bidi ; (tfel ot) thgir etirw uoy gnipleh
|
||||
;;chinese
|
||||
;;japanese
|
||||
@@ -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
|
||||
;;lean ; for folks with too much to prove
|
||||
;;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
|
||||
;;nim ; python + lisp at the speed of c
|
||||
(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
|
||||
:config
|
||||
;;literate
|
||||
(default +bindings +smartparens))
|
||||
(default +bindings +smartparens)
|
||||
#+END_SRC
|
||||
|
||||
*** End of init.el
|
||||
|
||||
#+BEGIN_SRC emacs-lisp :tangle init.el
|
||||
)
|
||||
#+END_SRC
|
||||
|
||||
** 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=.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||
(setq display-line-numbers-type t)
|
||||
(setq display-line-numbers-type 'relative)
|
||||
#+END_SRC
|
||||
|
||||
**** Tab Width
|
||||
@@ -949,9 +963,7 @@ Doom's packages are pinned to a specific commit and updated from release to rele
|
||||
(package! prettier-js)
|
||||
(package! rainbow-mode)
|
||||
(package! systemd)
|
||||
(package! lua-mode)
|
||||
(package! just-mode)
|
||||
(package! nix-mode)
|
||||
(package! sxhkd-mode
|
||||
:recipe (:host github :repo "xFA25E/sxhkd-mode"))
|
||||
(package! ebuild-mode)
|
||||
|
@@ -19,7 +19,7 @@
|
||||
|
||||
(doom/set-frame-opacity 95)
|
||||
|
||||
(setq display-line-numbers-type t)
|
||||
(setq display-line-numbers-type 'relative)
|
||||
|
||||
(setq-default tab-width 4)
|
||||
|
||||
|
10
init.el
10
init.el
@@ -1,6 +1,8 @@
|
||||
;;; init.el -*- lexical-binding: t; -*-
|
||||
|
||||
(doom! :input
|
||||
(doom!
|
||||
|
||||
:input
|
||||
;;bidi ; (tfel ot) thgir etirw uoy gnipleh
|
||||
;;chinese
|
||||
;;japanese
|
||||
@@ -134,7 +136,7 @@
|
||||
(latex +cdlatex +latexmk +lsp) ; writing papers in Emacs has never been so fun
|
||||
;;lean ; for folks with too much to prove
|
||||
;;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
|
||||
;;nim ; python + lisp at the speed of c
|
||||
(nix +lsp +tree-sitter) ; I hereby declare "nix geht mehr!"
|
||||
@@ -177,4 +179,6 @@
|
||||
|
||||
:config
|
||||
;;literate
|
||||
(default +bindings +smartparens))
|
||||
(default +bindings +smartparens)
|
||||
|
||||
)
|
||||
|
@@ -8,9 +8,7 @@
|
||||
(package! prettier-js)
|
||||
(package! rainbow-mode)
|
||||
(package! systemd)
|
||||
(package! lua-mode)
|
||||
(package! just-mode)
|
||||
(package! nix-mode)
|
||||
(package! sxhkd-mode
|
||||
:recipe (:host github :repo "xFA25E/sxhkd-mode"))
|
||||
(package! ebuild-mode)
|
||||
|
Reference in New Issue
Block a user