@@ -251,7 +251,7 @@ Track how much time is spent in each function and present a view to investigate
251
251
252
252
*** vlf
253
253
Large file support. This can view/edit/search and compare large files.
254
- #+begin_src emacs-lisp :tangle yes
254
+ #+begin_src emacs-lisp :tangle no
255
255
(use-package vlf :ensure t)
256
256
#+end_src
257
257
@@ -737,6 +737,7 @@ Shorten long Git branch names as well as replace Git prefix with a nice icon.
737
737
(keymap-global-set "<Tools>" #'just-one-space)
738
738
(keymap-global-set "M-p" #'completion-at-point)
739
739
(keymap-global-set "C-M-y" #'duplicate-dwim)
740
+ (keymap-global-set "C-x C-/" #'revert-buffer)
740
741
(keymap-global-set "C-z" #'zap-up-to-char)
741
742
(keymap-global-set "<remap> <upcase-word>" #'upcase-dwim)
742
743
(keymap-global-set "<remap> <downcase-word>" #'downcase-dwim)
@@ -762,6 +763,11 @@ Shorten long Git branch names as well as replace Git prefix with a nice icon.
762
763
("m" . maximize-window)
763
764
("r" . window-configuration-to-register)
764
765
("w" . window-toggle-side-windows))
766
+ (:repeat-map buffer-repeat-map
767
+ ("b" . next-buffer)
768
+ ("B" . previous-buffer)
769
+ ("[" . previous-buffer)
770
+ ("]" . next-buffer))
765
771
(:repeat-map other-window-repeat-map
766
772
("o" . other-window)
767
773
("O" . other-window-reverse-repeat)))
@@ -786,7 +792,6 @@ Shorten long Git branch names as well as replace Git prefix with a nice icon.
786
792
(defvar-keymap next-map
787
793
:doc "Keymap for the next key sequences."
788
794
:prefix 'next-map-prefix
789
- "]" '("Text size" . text-scale-increase)
790
795
"b" '("Buffer" . next-buffer)
791
796
"c" '("Conflict" . smerge-next)
792
797
"e" '("Error" . next-error))
@@ -795,7 +800,6 @@ Shorten long Git branch names as well as replace Git prefix with a nice icon.
795
800
(defvar-keymap prev-map
796
801
:doc "Keymap for the prev key sequences."
797
802
:prefix 'prev-map-prefix
798
- "[" '("Text size" . text-scale-decrease)
799
803
"b" '("Buffer" . previous-buffer)
800
804
"c" '("Conflict" . smerge-prev)
801
805
"e" '("Error" . previous-error))
@@ -1001,6 +1005,8 @@ Commands compatible with ~completing-read~.
1001
1005
(([remap bookmark-jump] . consult-bookmark)
1002
1006
([remap goto-line] . consult-goto-line)
1003
1007
([remap imenu] . consult-imenu)
1008
+ ([remap jump-to-register] . consult-register)
1009
+ ([remap point-to-register] . consult-register-store)
1004
1010
([remap switch-to-buffer] . consult-buffer)
1005
1011
([remap yank-pop] . consult-yank-pop)
1006
1012
("C-c k" . consult-kmacro)
@@ -1128,7 +1134,9 @@ Undo/redo between window layouts.
1128
1134
:bind
1129
1135
(:repeat-map winner-repeat-map
1130
1136
("[" . winner-undo)
1131
- ("]" . winner-redo))
1137
+ ("]" . winner-redo)
1138
+ ("M-[" . winner-undo)
1139
+ ("M-]" . winner-redo))
1132
1140
:init
1133
1141
(setq winner-dont-bind-my-keys t)
1134
1142
(keymap-set next-map next-prefix '("Window History" . winner-redo))
@@ -1799,18 +1807,6 @@ Jump to ...
1799
1807
(:map goto-map ("C" . avy-goto-char-in-line)))
1800
1808
#+end_src
1801
1809
1802
- *** bibliothek
1803
- Management tool for a library of PDFs.
1804
- #+begin_src emacs-lisp :tangle yes
1805
- (use-package bibliothek
1806
- :ensure t
1807
- :bind
1808
- (:map leader-map ("b" . bibliothek))
1809
- :init
1810
- (setq bibliothek-path '("~/books" "~/documents/research/papers"))
1811
- (setq bibliothek-recursive t))
1812
- #+end_src
1813
-
1814
1810
*** bookmark
1815
1811
Keep track of bookmarks
1816
1812
#+begin_src emacs-lisp :tangle yes
@@ -2373,15 +2369,6 @@ Enhanced git related views and commands.
2373
2369
(setenv "GIT_PAGER" ""))
2374
2370
#+end_src
2375
2371
2376
- *** vc-msg
2377
- Popup commit message for current line
2378
- #+begin_src emacs-lisp :tangle yes
2379
- (use-package vc-msg
2380
- :ensure t
2381
- :bind
2382
- (:map vc-prefix-map ("p" . vc-msg-show)))
2383
- #+end_src
2384
-
2385
2372
** Packages
2386
2373
*** envrc
2387
2374
Project-specific environment variables via =direnv=.
@@ -2505,7 +2492,7 @@ Delete trailing white-space before save, but *only* for edited lines.
2505
2492
** Appearance
2506
2493
*** Highlight delimiters
2507
2494
Visually separate delimiter pairs.
2508
- #+begin_src emacs-lisp :tangle yes
2495
+ #+begin_src emacs-lisp :tangle no
2509
2496
(use-package rainbow-delimiters
2510
2497
:ensure t
2511
2498
:hook
@@ -2520,7 +2507,7 @@ Visually separate delimiter pairs.
2520
2507
2521
2508
*** Highlight identifiers
2522
2509
Highlight source code identifiers based on their name.
2523
- #+begin_src emacs-lisp :tangle yes
2510
+ #+begin_src emacs-lisp :tangle no
2524
2511
(use-package color-identifiers-mode :ensure t)
2525
2512
#+end_src
2526
2513
@@ -2549,10 +2536,10 @@ Highlight source code identifiers based on their name.
2549
2536
* Major modes
2550
2537
** emacs-lisp
2551
2538
#+begin_src emacs-lisp :tangle yes
2552
- (add-hook 'emacs-lisp-mode-hook #'flymake-mode)
2553
- (add-hook 'emacs-lisp-mode-hook #'outline-minor-mode)
2554
-
2555
2539
(use-package elisp-mode
2540
+ :hook
2541
+ (emacs-lisp-mode-hook . flymake-mode)
2542
+ (emacs-lisp-mode-hook . outline-minor-mode)
2556
2543
:bind
2557
2544
(:map emacs-lisp-mode-map
2558
2545
("C-. c" . emacs-lisp-byte-compile)
@@ -2672,7 +2659,10 @@ Improve readability of escape characters in regular expressions.
2672
2659
("@home" . ?h)
2673
2660
("laptop" . ?l)))
2674
2661
2675
- (setq org-imenu-depth 3))
2662
+ (setq org-imenu-depth 3)
2663
+ :config
2664
+ (dolist (lang '("emacs-lisp" "elisp"))
2665
+ (cl-pushnew (cons lang 'lisp-interaction) org-src-lang-modes :test #'equal)))
2676
2666
2677
2667
(use-package ob-plantuml
2678
2668
:init
@@ -4112,6 +4102,23 @@ I am trying to reduce the amount of custom keybindings, therefore I present a ta
4112
4102
** Tasks
4113
4103
*** TODO Improve bindings
4114
4104
- Group editing bindings under logical prefix
4105
+ - Binding for
4106
+ - org-store-link
4107
+ - repeat map for window resize operations
4108
+ - =C-x {=,= =C-x +=, maximize-window
4109
+ - flip-frame/flop-frame/transpose-frame
4110
+ - leader mnemonics? as a separate package, or is it too much work?
4111
+ - (t)oggle
4112
+ - (s)earch
4113
+ - (f)ile
4114
+ - (r)ecent
4115
+ - (s)ave
4116
+ - (b)uffer
4117
+ - b - switch
4118
+ - (k)ill
4119
+ - (n)ext/(p)rev - repeat
4120
+ - (r)evert
4121
+ - (j)ump (bookmark)
4115
4122
*** TODO Split theme into several parts
4116
4123
- One theme to set big headers and such things
4117
4124
- One theme to highlight errors
@@ -4214,7 +4221,6 @@ I am trying to reduce the amount of custom keybindings, therefore I present a ta
4214
4221
- ws-butler (deprecate?)
4215
4222
4216
4223
**** Full
4217
- - bibliothek
4218
4224
- browse-at-remote
4219
4225
- cakecrumbs
4220
4226
- caml
@@ -4273,7 +4279,6 @@ I am trying to reduce the amount of custom keybindings, therefore I present a ta
4273
4279
- stripe-buffer
4274
4280
- tuareg
4275
4281
- valign
4276
- - vc-msg
4277
4282
- vlf
4278
4283
- vterm-toggle
4279
4284
- web-mode
0 commit comments