Skip to content

Commit 249c688

Browse files
authored
feat: update key bindings (#392)
* feat: add repeat map for window keys * feat: add binding for ellama commands * docs: remove implemented todos
1 parent 9c22b66 commit 249c688

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

init.org

+14-7
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,10 @@ Shorten long Git branch names as well as replace Git prefix with a nice icon.
753753
("m" . maximize-window)
754754
("r" . window-configuration-to-register)
755755
("w" . window-toggle-side-windows))
756+
(:repeat-map resize-window-repeat-map
757+
("+" . balance-windows)
758+
("-" . fit-window-to-buffer)
759+
("m" . maximize-window))
756760
(:repeat-map buffer-repeat-map
757761
("b" . next-buffer)
758762
("B" . previous-buffer)
@@ -1133,10 +1137,14 @@ Transpose window arrangement.
11331137
(use-package transpose-frame
11341138
:ensure t
11351139
:bind
1136-
(:map window-prefix-map
1137-
("t" . transpose-frame)
1138-
("f" . flip-frame)
1139-
("F" . flop-frame)))
1140+
((:map window-prefix-map
1141+
("t" . transpose-frame)
1142+
("f" . flip-frame)
1143+
("F" . flop-frame))
1144+
(:repeat-map window-arrangement-repeat-map
1145+
("t" . transpose-frame)
1146+
("f" . flip-frame)
1147+
("F" . flop-frame))))
11401148
#+end_src
11411149

11421150
Manage "popups".
@@ -3963,6 +3971,8 @@ Visual undo history navigation.
39633971
:ensure t
39643972
:functions
39653973
(make-llm-ollama)
3974+
:bind-keymap
3975+
("C-, e" . ellama-command-map)
39663976
:config
39673977
(setq ellama-auto-scroll t)
39683978
(setq ellama-provider
@@ -4096,9 +4106,6 @@ I am trying to reduce the amount of custom keybindings, therefore I present a ta
40964106
- Group editing bindings under logical prefix
40974107
- Binding for
40984108
- org-store-link
4099-
- repeat map for window resize operations
4100-
- =C-x {=,= =C-x +=, maximize-window
4101-
- flip-frame/flop-frame/transpose-frame
41024109
- leader mnemonics? as a separate package, or is it too much work?
41034110
- (t)oggle
41044111
- (s)earch

0 commit comments

Comments
 (0)