From 76602edf1b31752228d206333d86f665d3f2953c Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Thu, 1 Jun 2023 01:11:00 +0100 Subject: [PATCH] Add dirvish and eros cubes --- core/cubes/editor.el | 9 +++++++++ core/cubes/elisp.el | 5 +++++ 2 files changed, 14 insertions(+) diff --git a/core/cubes/editor.el b/core/cubes/editor.el index 8b304f3..40a0c0d 100644 --- a/core/cubes/editor.el +++ b/core/cubes/editor.el @@ -51,6 +51,15 @@ For more info checkout [[https://github.com/gregsexton/origami.el]]" (global-origami-mode t))) +(->cube dirvish + "Dirvish is an improved version of the Emacs inbuilt package Dired. +It not only gives Dired an appealing and highly customizable user interface, +but also comes together with almost all possible parts required for full usability +as a modern file manager." + :init + (dirvish-override-dired-mode)) + + (->cube which-key "which-key is a minor mode for Emacs that displays the key bindings following your currently entered incomplete command (a prefix) in a popup. For example, diff --git a/core/cubes/elisp.el b/core/cubes/elisp.el index ea0a0e7..a35590d 100644 --- a/core/cubes/elisp.el +++ b/core/cubes/elisp.el @@ -25,6 +25,7 @@ (require 'fg42/cube) + (defcube fg42/elisp-cube "Elisp cube" (:title "cubes/fg42/elisp-cube.org" @@ -33,6 +34,10 @@ (fg42/rainbow-delimiters-cube) (fg42/paredit-cube) + (fpkg/use eros + :init + (eros-mode)) + (add-hook 'emacs-lisp-mode-hook #'rainbow-delimiters-mode))