refactor(docs): replace nav menus with virtual one
Now that the header is dynamically generated (when doom-docs-mode is active), a literal header is unnecessary.
This commit is contained in:
parent
c34168fb2a
commit
1255315bfc
167 changed files with 143 additions and 338 deletions
|
@ -1,8 +1,9 @@
|
|||
← [[doom-module-index:][Back to module index]] ↖ [[doom-repo:tree/develop/modules/editor/][Github]] ± [[doom-suggest-edit:][Suggest edits]] ? [[doom-help-modules:][Help]]
|
||||
--------------------------------------------------------------------------------
|
||||
#+title: :editor
|
||||
#+created: July 30, 2021
|
||||
#+since: 21.12.0
|
||||
|
||||
* Description
|
||||
For modules concerned with the insertion and editing of text. Amen.
|
||||
|
||||
* Frequently asked questions
|
||||
/This category has no FAQs yet./ [[doom-suggest-faq:][Ask one?]]
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
← [[doom-module-index:][Back to module index]] ! [[doom-module-issues:::editor evil][Issues]] ↖ [[doom-repo:tree/develop/modules/editor/evil/][Github]] ± [[doom-suggest-edit:][Suggest edits]] ? [[doom-help-modules:][Help]]
|
||||
--------------------------------------------------------------------------------
|
||||
#+title: :editor evil
|
||||
#+subtitle: The text editor Emacs was missing
|
||||
#+created: April 08, 2020
|
||||
|
@ -202,6 +200,27 @@ If you prefer the old behavior, it can be reversed with:
|
|||
Evil-specific configuration and keybindings (defined with ~map!~) will be
|
||||
ignored without [[doom-module:][:editor evil]] present (and omitted when byte-compiling).
|
||||
|
||||
** Include underscores in evil word motions?
|
||||
A more in-depth answer and explanation for this can be found [[https://evil.readthedocs.io/en/latest/faq.html#underscore-is-not-a-word-character][in Evil's
|
||||
documentation]].
|
||||
|
||||
TL;DR If you want the underscore to be recognized as word character, you can
|
||||
modify its entry in the syntax-table:
|
||||
#+begin_src emacs-lisp
|
||||
(modify-syntax-entry ?_ "w")
|
||||
#+end_src
|
||||
|
||||
This gives the underscore the word syntax-class. You can use a mode-hook to
|
||||
modify the syntax-table in all buffers of some mode, e.g.
|
||||
#+begin_src emacs-lisp
|
||||
;; For python
|
||||
(add-hook! 'python-mode-hook (modify-syntax-entry ?_ "w"))
|
||||
;; For ruby
|
||||
(add-hook! 'ruby-mode-hook (modify-syntax-entry ?_ "w"))
|
||||
;; For Javascript
|
||||
(add-hook! 'js2-mode-hook (modify-syntax-entry ?_ "w"))
|
||||
#+end_src
|
||||
|
||||
* TODO Appendix
|
||||
#+begin_quote
|
||||
🔨 This module has no appendix yet. [[doom-contrib-module:][Write one?]]
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
← [[doom-module-index:][Back to module index]] ! [[doom-module-issues:::editor file-templates][Issues]] ↖ [[doom-repo:tree/develop/modules/editor/file-templates/][Github]] ± [[doom-suggest-edit:][Suggest edits]] ? [[doom-help-modules:][Help]]
|
||||
--------------------------------------------------------------------------------
|
||||
#+title: :editor file-templates
|
||||
#+subtitle: Fill the void in your empty files
|
||||
#+created: February 11, 2017
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: Doom category readme
|
||||
# --
|
||||
← [[doom-module-index:][Back to module index]] ↖ [[doom-module-source:lang][Source]] ± [[doom-suggest-edit:][Suggest edits]] ? [[doom-help-modules:][Help]]
|
||||
--------------------------------------------------------------------------------
|
||||
#+title: `(+file-templates-module-for-path)`
|
||||
#+created: `(format-time-string "%B %d, %Y")`
|
||||
#+since: `(car (split-string doom-version "-"))`
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: Doom documentation
|
||||
# --
|
||||
← [[doom-index:][Back to index]] ↖ [[doom-docs-source:faq.org][Source]] ± [[doom-suggest-edit:][Suggest edits]] ? [[doom-help:][Help]]
|
||||
--------------------------------------------------------------------------------
|
||||
#+title: ${1:Title}
|
||||
#+subtitle: ${2:Subtitle}
|
||||
#+title: ${1:Title}
|
||||
#+subtitle: ${2:Subtitle}
|
||||
|
||||
$0
|
|
@ -1,8 +1,6 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: Doom module readme
|
||||
# --
|
||||
← [[doom-module-index:][Back to module index]] ↙ [[doom-module-issues:::lang rust][Issues]] ↖ [[doom-module-source:lang/rust][Source]] ± [[doom-suggest-edit:][Suggest edits]] ? [[doom-help-modules:][Help]]
|
||||
--------------------------------------------------------------------------------
|
||||
#+title: `(+file-templates-module-for-path)`
|
||||
#+subtitle: <A one-line quip about this module to display in init.example.el>
|
||||
#+created: `(format-time-string "%B %d, %Y")`
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
← [[doom-module-index:][Back to module index]] ! [[doom-module-issues:::editor fold][Issues]] ↖ [[doom-repo:tree/develop/modules/editor/fold/][Github]] ± [[doom-suggest-edit:][Suggest edits]] ? [[doom-help-modules:][Help]]
|
||||
--------------------------------------------------------------------------------
|
||||
#+title: :editor fold
|
||||
#+subtitle: What you can't see won't hurt you
|
||||
#+created: May 15, 2019
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
← [[doom-module-index:][Back to module index]] ! [[doom-module-issues:::editor format][Issues]] ↖ [[doom-repo:tree/develop/modules/editor/format/][Github]] ± [[doom-suggest-edit:][Suggest edits]] ? [[doom-help-modules:][Help]]
|
||||
--------------------------------------------------------------------------------
|
||||
#+title: :editor format
|
||||
#+subtitle: Standardize your ugly code
|
||||
#+created: July 26, 2020
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
← [[doom-module-index:][Back to module index]] ! [[doom-module-issues:::editor god][Issues]] ↖ [[doom-repo:tree/develop/modules/editor/god/][Github]] ± [[doom-suggest-edit:][Suggest edits]] ? [[doom-help-modules:][Help]]
|
||||
--------------------------------------------------------------------------------
|
||||
#+title: :editor god
|
||||
#+subtitle: IDDQD
|
||||
#+created: October 13, 2021
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
← [[doom-module-index:][Back to module index]] ! [[doom-module-issues:::editor lispy][Issues]] ↖ [[doom-repo:tree/develop/modules/editor/lispy/][Github]] ± [[doom-suggest-edit:][Suggest edits]] ? [[doom-help-modules:][Help]]
|
||||
--------------------------------------------------------------------------------
|
||||
#+title: :editor lispy
|
||||
#+subtitle: Vim for lisp, for people who don't like vim
|
||||
#+created: October 27, 2018
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
← [[doom-module-index:][Back to module index]] ! [[doom-module-issues:::editor multiple-cursors][Issues]] ↖ [[doom-repo:tree/develop/modules/editor/multiple-cursors/][Github]] ± [[doom-suggest-edit:][Suggest edits]] ? [[doom-help-modules:][Help]]
|
||||
--------------------------------------------------------------------------------
|
||||
#+title: :editor multiple-cursors
|
||||
#+subtitle: Make all your mistakes at once
|
||||
#+created: October 13, 2021
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
← [[doom-module-index:][Back to module index]] ! [[doom-module-issues:::editor objed][Issues]] ↖ [[doom-repo:tree/develop/modules/editor/objed/][Github]] ± [[doom-suggest-edit:][Suggest edits]] ? [[doom-help-modules:][Help]]
|
||||
--------------------------------------------------------------------------------
|
||||
#+title: :editor objed
|
||||
#+subtitle: Text object editing for the innocent
|
||||
#+created: May 30, 2019
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
← [[doom-module-index:][Back to module index]] ! [[doom-module-issues:::editor parinfer][Issues]] ↖ [[doom-repo:tree/develop/modules/editor/parinfer/][Github]] ± [[doom-suggest-edit:][Suggest edits]] ? [[doom-help-modules:][Help]]
|
||||
--------------------------------------------------------------------------------
|
||||
#+title: :editor parinfer
|
||||
#+subtitle: For lispers that like Python more (i.e. nobody)
|
||||
#+created: February 27, 2021
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
← [[doom-module-index:][Back to module index]] ! [[doom-module-issues:::editor rotate-text][Issues]] ↖ [[doom-repo:tree/develop/modules/editor/rotate-text/][Github]] ± [[doom-suggest-edit:][Suggest edits]] ? [[doom-help-modules:][Help]]
|
||||
--------------------------------------------------------------------------------
|
||||
#+title: :editor rotate-text
|
||||
#+subtitle: The only back'n'forth nerds will ever know
|
||||
#+created: June 22, 2018
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
← [[doom-module-index:][Back to module index]] ! [[doom-module-issues:::editor snippets][Issues]] ↖ [[doom-repo:tree/develop/modules/editor/snippets/][Github]] ± [[doom-suggest-edit:][Suggest edits]] ? [[doom-help-modules:][Help]]
|
||||
--------------------------------------------------------------------------------
|
||||
#+title: :editor snippets
|
||||
#+subtitle: My elves type so I don't have to
|
||||
#+created: February 11, 2017
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
← [[doom-module-index:][Back to module index]] ! [[doom-module-issues:::editor word-wrap][Issues]] ↖ [[doom-repo:tree/develop/modules/editor/word-wrap/][Github]] ± [[doom-suggest-edit:][Suggest edits]] ? [[doom-help-modules:][Help]]
|
||||
--------------------------------------------------------------------------------
|
||||
#+title: :editor word-wrap
|
||||
#+subtitle: Soft-wrapping with language-aware indent
|
||||
#+created: August 25, 2019
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue