aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/config.org
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-03-25 09:28:43 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-03-25 09:29:27 +0000
commit192de39199235cc76a309b95707431c69a3ab005 (patch)
tree3a19411557a83fedfcdb9784579f2dd4ba444a3b /Emacs/.config/emacs/config.org
parent44de2b1580b71a7141ca8a0705b8eecaf044a741 (diff)
downloaddotfiles-192de39199235cc76a309b95707431c69a3ab005.tar.gz
dotfiles-192de39199235cc76a309b95707431c69a3ab005.tar.bz2
dotfiles-192de39199235cc76a309b95707431c69a3ab005.zip
(Emacs)~minor edits
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r--Emacs/.config/emacs/config.org17
1 files changed, 12 insertions, 5 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 1eb4231..30d16e6 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -1111,9 +1111,11 @@ window can provide some nicer chords for higher management of windows
[remap evil-window-next] #'ace-window))
#+end_src
** Helpful
-Basic setup, will be fully integrated in counsel.
+Basic setup that replaces commands and configures
+=display-buffer-alist= for helpful.
#+begin_src emacs-lisp
(use-package helpful
+ :commands (helpful-callable helpful-variable)
:general
(general-def
[remap describe-function] #'helpful-callable
@@ -1224,13 +1226,17 @@ Dashboard creates a custom dashboard for Emacs that replaces the
initial startup screen in default Emacs.
#+begin_src emacs-lisp
(use-package dashboard
+ :defer 1
:straight t
:general
(leader
- "ab" (proc (interactive) (switch-to-buffer "*dashboard*")))
+ "ab" #'dashboard-refresh-buffer)
+ (general-def
+ :states '(normal motion emacs)
+ :keymaps 'dashboard-mode-map
+ "q" (proc (interactive) (kill-this-buffer)))
:init
- (setq initial-buffer-choice (lambda () (get-buffer "*dashboard*"))
- dashboard-banner-logo-title "Oreomacs"
+ (setq dashboard-banner-logo-title "Oreomacs"
dashboard-center-content nil
dashboard-set-init-info t
dashboard-startup-banner (no-littering-expand-etc-file-name "dashboard/logo2.png")
@@ -1240,6 +1246,7 @@ initial startup screen in default Emacs.
(recents . 5)))
:config
(dashboard-setup-startup-hook)
+ (setq initial-buffer-choice (lambda () (get-buffer "*dashboard*")))
(general-def
:states '(normal motion)
@@ -1350,7 +1357,7 @@ are some corners I'd like to adjust).
:straight nil
:hook (dired-mode-hook . dired-hide-details-mode)
:init
- (setq-default dired-listing-switches "-AFBl --group-directories-first --color")
+ (setq-default dired-listing-switches "-AFBl --group-directories-first")
:general
(leader
:infix "d"