about summary refs log tree commit diff
path: root/dotfiles/.emacs
diff options
context:
space:
mode:
authorBaitinq <30861839+Baitinq@users.noreply.github.com>2024-03-01 17:29:36 +0100
committerGitHub <noreply@github.com>2024-03-01 17:29:36 +0100
commit4e1a24a0bbe6c793865aa351e123f942bba93048 (patch)
tree7d4499e60d656b77b988bf14356496ee5f7d7717 /dotfiles/.emacs
parentUpdate readme (diff)
downloadnixos-config-4e1a24a0bbe6c793865aa351e123f942bba93048.tar.gz
nixos-config-4e1a24a0bbe6c793865aa351e123f942bba93048.tar.bz2
nixos-config-4e1a24a0bbe6c793865aa351e123f942bba93048.zip
Dotfiles: Emacs: Add minimap
Diffstat (limited to '')
-rw-r--r--dotfiles/.emacs12
1 files changed, 12 insertions, 0 deletions
diff --git a/dotfiles/.emacs b/dotfiles/.emacs
index 0a8f4a7..847d0b6 100644
--- a/dotfiles/.emacs
+++ b/dotfiles/.emacs
@@ -207,6 +207,18 @@
   :bind
   (:map evil-normal-state-map ("C-b" . dired-sidebar-toggle-sidebar)))
 
+(use-package minimap
+  :ensure t
+  :config
+  (setq minimap-window-location 'right)
+  (setq minimap-dedicated-window t)
+  (setq minimap-enlarge-certain-faces nil)
+  (setq minimap-width-fraction 0.0)
+  (setq minimap-minimum-width 12)
+  :bind
+  (:map evil-normal-state-map
+  ("C-n" . minimap-mode)))
+
 (eval-after-load 'dired
   '(evil-define-key 'normal dired-mode-map [mouse-2] 'dired-mouse-find-file)
 )