diff options
Diffstat (limited to 'dotfiles-darwin/emacs')
| -rw-r--r-- | dotfiles-darwin/emacs/functions.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dotfiles-darwin/emacs/functions.el b/dotfiles-darwin/emacs/functions.el index 2339e3e..938ae97 100644 --- a/dotfiles-darwin/emacs/functions.el +++ b/dotfiles-darwin/emacs/functions.el @@ -13,9 +13,12 @@ (let ((echo-keystrokes nil)) (set-transient-map (let ((map (make-sparse-keymap))) - (dolist (elem `(("j" . ((width . ,(/ 2.0 3)))) + (keymap-set map "f" #'toggle-frame-maximized) + (dolist (elem `(("i" . ((width . 0.5))) + ("j" . ((width . ,(/ 2.0 3)))) ("k" . ((left . 1.0) (width . ,(/ 2.0 3)))) - ("l" . ((left . 0.5) (width . 0.5))))) + ("l" . ((left . 0.5) (width . 0.5))) + ("o" . ((left . 1.0) (width . 0.5))))) (keymap-set map (car elem) (lambda () (interactive) (my/modify-frame-parameters (cdr elem))))) |
