mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-05 18:20:29 -08:00
docs(minimap): update & expand
This commit is contained in:
parent
2ac5787cc9
commit
5f0ebdf2e0
1 changed files with 33 additions and 16 deletions
|
|
@ -23,22 +23,30 @@ feature found in many other editors.
|
|||
# This section will be machine generated. Don't edit it by hand.
|
||||
/This module does not have a changelog yet./
|
||||
|
||||
* TODO Usage
|
||||
#+begin_quote
|
||||
/This module's usage documentation is incomplete./ [[doom-contrib-module:][Complete it?]]
|
||||
#+end_quote
|
||||
* Usage
|
||||
Press [[kbd:][SPC t m]] to toggle the minimap.
|
||||
|
||||
A minimap which provides an overview of the current buffer to the side,
|
||||
displaying the currently visible region and the current line. You can left-click
|
||||
and drag to scroll along the buffer, or right-click anywhere to jump to there.
|
||||
A minimap provides an overview of the current buffer to the side, displaying the
|
||||
currently visible region and the current line. You can left-click inside the
|
||||
minimap to create a region, or scroll to move the minimap up & down.
|
||||
|
||||
* TODO Configuration
|
||||
#+begin_quote
|
||||
/This module's configuration documentation is incomplete./ [[doom-contrib-module:][Complete it?]]
|
||||
#+end_quote
|
||||
* Configuration
|
||||
There are a number of options provided by the =demap.el= package this module
|
||||
is based on. The easiest way to see all of them is [[kbd:][SPC h v demap]].
|
||||
|
||||
There are a number of options provided by the =minimap.el= package this module
|
||||
is based on. The easiest way to see all of them is [[kbd:][SPC h v minimap]].
|
||||
** Changing the side that the minimap window opens in
|
||||
You can change the variable [[var:demap-minimap-window-side][demap-minimap-window-side]] which controls the side of
|
||||
the frame the minimap window opens in, it supports these options:
|
||||
- =right=
|
||||
- =left=
|
||||
|
||||
** Changing the width of the minimap window
|
||||
The [[var:demap-minimap-window-width][demap-minimap-window-width]] variable controls the width of the minimap
|
||||
window, by default it is set to =20=.
|
||||
|
||||
** Changing the name of the minimap buffer
|
||||
The [[var:demap-minimap-default-name][demap-minimap-default-name]] variable controls the name of the minimap buffer,
|
||||
by default it is set to ="**Minimap**"=.
|
||||
|
||||
* Troubleshooting
|
||||
/There are no known problems with this module./ [[doom-report:][Report one?]]
|
||||
|
|
@ -47,6 +55,15 @@ is based on. The easiest way to see all of them is [[kbd:][SPC h v minimap]].
|
|||
/This module has no FAQs yet./ [[doom-suggest-faq:][Ask one?]]
|
||||
|
||||
* TODO Appendix
|
||||
#+begin_quote
|
||||
This module has no appendix yet. [[doom-contrib-module:][Write one?]]
|
||||
#+end_quote
|
||||
** Variables
|
||||
- demap-minimap-change-major-mode-hook
|
||||
- demap-minimap-default-name
|
||||
- demap-minimap-window-width
|
||||
- demap-minimap-window-side
|
||||
- demap-minimap-kill-hook
|
||||
- demap-minimap-construct-hook
|
||||
- demap-minimap-window-set-hook
|
||||
- demap-minimap-change-functions
|
||||
- demap-minimap-window-sleep-hook
|
||||
- demap-minimap-protected-variables
|
||||
- demap-minimap-close-kill-minimap-p
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue