Minimap Fixes

Another set of fixes to the minimap as suggested by @hlissner.

- Changed the use-package to :defer t
- Updated the README.org and removed the Hacks section
- Alphabetized the init.example.el list
This commit is contained in:
Steven vanZyl 2020-05-17 15:54:09 -04:00
parent c1937397f3
commit fe68c654c0
3 changed files with 4 additions and 9 deletions

View file

@ -33,6 +33,7 @@
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
;;hydra
;;indent-guides ; highlighted indent columns
;;minimap ; show a map of the code on the side
modeline ; snazzy, Atom-inspired modeline, plus API
;;nav-flash ; blink cursor line after big motions
;;neotree ; a project drawer, like NERDTree for vim
@ -47,7 +48,6 @@
;;window-select ; visually switch windows
workspaces ; tab emulation, persistence & separate workspaces
;;zen ; distraction-free coding or writing
;;minimap ; show a map of the code on the side
:editor
(evil +everywhere); come to the dark side, we have cookies

View file

@ -1,6 +1,6 @@
#+TITLE: Minimap
#+TITLE: :ui minimap
#+DATE: May 8, 2020
#+SINCE: v2.0
#+SINCE: v3.0.0
#+STARTUP: inlineimages nofold
* Table of Contents :TOC_3:noexport:
@ -8,7 +8,6 @@
- [[#maintainers][Maintainers]]
- [[#module-flags][Module Flags]]
- [[#plugins][Plugins]]
- [[#hacks][Hacks]]
- [[#features][Features]]
- [[#configuration][Configuration]]
- [[#troubleshooting][Troubleshooting]]
@ -28,10 +27,6 @@ This module provides no flags.
** Plugins
+ [[https://elpa.gnu.org/packages/minimap.html][minimap.el]]
** Hacks
+ The colors used by the minimap are terrible so are overridden with
=custom-set-faces!= using colors out of the current DOOM theme.
* Features
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

View file

@ -1,7 +1,7 @@
;;; ui/minimap/config.el -*- lexical-binding: t; -*-
(use-package! minimap
:hook doom-load-theme-hook
:defer t
:config
(setq minimap-window-location 'right
minimap-update-delay 0