projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[emacs][wip] dired: add b for dired-up-directory
[~bandali/configs]
/
init.org
diff --git
a/init.org
b/init.org
index
16351aa
..
9acbd33
100644
(file)
--- a/
init.org
+++ b/
init.org
@@
-296,6
+296,8
@@
and without compromising on performance.
debug-on-error t)
(setq use-package-verbose nil
use-package-expand-minimally t))
debug-on-error t)
(setq use-package-verbose nil
use-package-expand-minimally t))
+
+(setq use-package-always-defer t)
#+end_src
*** COMMENT Epkg
#+end_src
*** COMMENT Epkg
@@
-727,6
+729,7
@@
for this.
** Bindings
#+begin_src emacs-lisp
** Bindings
#+begin_src emacs-lisp
+(require 'bind-key)
(bind-keys
("C-c a i" . ielm)
(bind-keys
("C-c a i" . ielm)
@@
-969,6
+972,18
@@
Recently opened files.
(setq recentf-max-saved-items 40))
#+end_src
(setq recentf-max-saved-items 40))
#+end_src
+*** smex
+
+#+begin_quote
+A smart M-x enhancement for Emacs.
+#+end_quote
+
+Mostly because =counsel= needs it to remember history.
+
+#+begin_src emacs-lisp
+(use-package smex)
+#+end_src
+
*** [[https://github.com/abo-abo/swiper][Ivy]] (and friends)
#+begin_quote
*** [[https://github.com/abo-abo/swiper][Ivy]] (and friends)
#+begin_quote
@@
-1067,7
+1082,6
@@
There's no way I could top that, so I won't attempt to.
#+begin_src emacs-lisp
(use-feature ibuffer
#+begin_src emacs-lisp
(use-feature ibuffer
- :defer t
:bind
(("C-x C-b" . ibuffer-other-window)
:map ibuffer-mode-map
:bind
(("C-x C-b" . ibuffer-other-window)
:map ibuffer-mode-map
@@
-1138,7
+1152,6
@@
There's no way I could top that, so I won't attempt to.
#+begin_src emacs-lisp
(use-feature outline
#+begin_src emacs-lisp
(use-feature outline
- :defer t
:hook (prog-mode . outline-minor-mode)
:bind
(:map
:hook (prog-mode . outline-minor-mode)
:bind
(:map
@@
-1163,7
+1176,6
@@
There's no way I could top that, so I won't attempt to.
:custom (ls-lisp-dirs-first t))
(use-feature dired
:custom (ls-lisp-dirs-first t))
(use-feature dired
- :defer t
:config
(setq dired-listing-switches "-alh"
ls-lisp-use-insert-directory-program nil)
:config
(setq dired-listing-switches "-alh"
ls-lisp-use-insert-directory-program nil)
@@
-1172,6
+1184,7
@@
There's no way I could top that, so I won't attempt to.
;; https://oremacs.com/2017/03/18/dired-ediff/
(defun dired-ediff-files ()
(interactive)
;; https://oremacs.com/2017/03/18/dired-ediff/
(defun dired-ediff-files ()
(interactive)
+ (require 'dired-aux)
(defvar ediff-after-quit-hook-internal)
(let ((files (dired-get-marked-files))
(wnd (current-window-configuration)))
(defvar ediff-after-quit-hook-internal)
(let ((files (dired-get-marked-files))
(wnd (current-window-configuration)))
@@
-1191,6
+1204,7
@@
There's no way I could top that, so I won't attempt to.
(set-window-configuration wnd))))
(error "no more than 2 files should be marked"))))
:bind (:map dired-mode-map
(set-window-configuration wnd))))
(error "no more than 2 files should be marked"))))
:bind (:map dired-mode-map
+ ("b" . dired-up-directory)
("e" . dired-ediff-files)
("E" . dired-toggle-read-only)
("\\" . dired-hide-details-mode)
("e" . dired-ediff-files)
("E" . dired-toggle-read-only)
("\\" . dired-hide-details-mode)
@@
-1204,7
+1218,6
@@
There's no way I could top that, so I won't attempt to.
#+begin_src emacs-lisp
(use-feature help
#+begin_src emacs-lisp
(use-feature help
- :defer t
:config
(temp-buffer-resize-mode)
(setq help-window-select t))
:config
(temp-buffer-resize-mode)
(setq help-window-select t))
@@
-1214,7
+1227,6
@@
There's no way I could top that, so I won't attempt to.
#+begin_src emacs-lisp
(use-feature tramp
#+begin_src emacs-lisp
(use-feature tramp
- :defer t
:config
(add-to-list 'tramp-default-proxies-alist '(nil "\\`root\\'" "/ssh:%h:"))
(add-to-list 'tramp-default-proxies-alist '("localhost" nil nil))
:config
(add-to-list 'tramp-default-proxies-alist '(nil "\\`root\\'" "/ssh:%h:"))
(add-to-list 'tramp-default-proxies-alist '("localhost" nil nil))
@@
-1226,7
+1238,6
@@
There's no way I could top that, so I won't attempt to.
#+begin_src emacs-lisp
(use-package dash
#+begin_src emacs-lisp
(use-package dash
- :defer t
:config (dash-enable-font-lock))
#+end_src
:config (dash-enable-font-lock))
#+end_src
@@
-1388,15
+1399,13
@@
Automatically save place in each file.
#+begin_src emacs-lisp
(use-package alloy-mode
:straight (:host github :repo "dwwmmn/alloy-mode")
#+begin_src emacs-lisp
(use-package alloy-mode
:straight (:host github :repo "dwwmmn/alloy-mode")
- :defer t
:config (setq alloy-basic-offset 2))
#+end_src
** [[https://coq.inria.fr][Coq]] (with [[https://github.com/ProofGeneral/PG][Proof General]])
#+begin_src emacs-lisp
:config (setq alloy-basic-offset 2))
#+end_src
** [[https://coq.inria.fr][Coq]] (with [[https://github.com/ProofGeneral/PG][Proof General]])
#+begin_src emacs-lisp
-(use-package proof-general
- :defer t)
+(use-package proof-general)
#+end_src
** [[https://leanprover.github.io][Lean]] (with [[https://github.com/leanprover/lean-mode][lean-mode]])
#+end_src
** [[https://leanprover.github.io][Lean]] (with [[https://github.com/leanprover/lean-mode][lean-mode]])
@@
-1423,7
+1432,6
@@
Automatically save place in each file.
#+begin_src emacs-lisp
(use-package haskell-mode
#+begin_src emacs-lisp
(use-package haskell-mode
- :defer t
:config
(setq haskell-indentation-layout-offset 4
haskell-indentation-left-offset 4
:config
(setq haskell-indentation-layout-offset 4
haskell-indentation-left-offset 4
@@
-1612,7
+1620,6
@@
instead.
#+begin_src emacs-lisp
(use-package sgml-mode
#+begin_src emacs-lisp
(use-package sgml-mode
- :defer t
:config
(setq sgml-basic-offset 2))
#+end_src
:config
(setq sgml-basic-offset 2))
#+end_src
@@
-1621,7
+1628,6
@@
instead.
#+begin_src emacs-lisp
(use-package css-mode
#+begin_src emacs-lisp
(use-package css-mode
- :defer t
:config
(setq css-indent-offset 2))
#+end_src
:config
(setq css-indent-offset 2))
#+end_src
@@
-1630,7
+1636,6
@@
instead.
#+begin_src emacs-lisp
(use-package web-mode
#+begin_src emacs-lisp
(use-package web-mode
- :defer t
:mode "\\.html\\'"
:config
(a/setq-every 2
:mode "\\.html\\'"
:config
(a/setq-every 2
@@
-1758,7
+1763,6
@@
treemacs
#+begin_src emacs-lisp
(use-feature man
#+begin_src emacs-lisp
(use-feature man
- :defer t
:config (setq Man-width 80))
#+end_src
:config (setq Man-width 80))
#+end_src
@@
-1890,7
+1894,6
@@
Emacs package that displays available keybindings in popup
#+begin_src emacs-lisp
(use-package projectile
#+begin_src emacs-lisp
(use-package projectile
- :defer t
:bind-keymap ("C-c p" . projectile-command-map)
:config
(projectile-mode)
:bind-keymap ("C-c p" . projectile-command-map)
:config
(projectile-mode)
@@
-2314,7
+2317,7
@@
Convenient footnotes in =message-mode=.
#+begin_src emacs-lisp
(use-package ebdb
#+begin_src emacs-lisp
(use-package ebdb
- :
defer 1
+ :
after gnus
:bind (:map gnus-group-mode-map ("e" . ebdb))
:config
(setq ebdb-sources (no-littering-expand-var-file-name "ebdb"))
:bind (:map gnus-group-mode-map ("e" . ebdb))
:config
(setq ebdb-sources (no-littering-expand-var-file-name "ebdb"))
@@
-2389,7
+2392,7
@@
Convenient footnotes in =message-mode=.
(gnus-harvest-install)))
#+end_src
(gnus-harvest-install)))
#+end_src
-*
COMMENT
Blogging
+* Blogging
:PROPERTIES:
:CUSTOM_ID: blogging
:END:
:PROPERTIES:
:CUSTOM_ID: blogging
:END:
@@
-2400,8
+2403,8
@@
Convenient footnotes in =message-mode=.
(use-package ox-hugo
:after ox)
(use-package ox-hugo
:after ox)
-(use-
packag
e ox-hugo-auto-export
- :
load-path "lib/ox-hugo"
)
+(use-
featur
e ox-hugo-auto-export
+ :
after ox-hugo
)
#+end_src
* Post initialization
#+end_src
* Post initialization