diff options
author | David Morgan <djm_uk@protonmail.com> | 2021-08-05 07:47:38 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2021-08-05 07:47:38 +0100 |
commit | fd87e0ed4c52bed31798c0f83f8f121d2659f869 (patch) | |
tree | 636db2b3ec071e0fc75aaa2fdf2644da7f2f74e9 /emacs-prelude/personal/lisp/init-ui.el | |
parent | 1190ad9a1882344e9046277ca50f306c82e8cc9b (diff) | |
download | dotfiles-fd87e0ed4c52bed31798c0f83f8f121d2659f869.tar.gz |
Play around with a few things
Diffstat (limited to 'emacs-prelude/personal/lisp/init-ui.el')
-rw-r--r-- | emacs-prelude/personal/lisp/init-ui.el | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/emacs-prelude/personal/lisp/init-ui.el b/emacs-prelude/personal/lisp/init-ui.el index ffb3087..734a710 100644 --- a/emacs-prelude/personal/lisp/init-ui.el +++ b/emacs-prelude/personal/lisp/init-ui.el @@ -52,12 +52,22 @@ (prelude-require-package 'smartscan) (use-package smartscan :config - (global-smartscan-mode t)) + (global-smartscan-mode t) + :hook + (cider-repl-mode . (lambda () (smartscan-mode -1))) + (vterm-mode . (lambda () (smartscan-mode -1))) + (eshell-mode . (lambda () (smartscan-mode -1)))) -(prelude-require-package 'fullframe) - (use-package fullframe - :after magit - :config - (fullframe magit-status magit-mode-quit-window)) +;;(prelude-require-package 'fullframe) +;; (use-package fullframe +;; :after magit +;; :config +;; (fullframe magit-status magit-mode-quit-window)) + +(smartrep-define-key global-map + "C-x" '(("}" . enlarge-window-horizontally) + ("{" . shrink-window-horizontally) + ("^" . enlarge-window) + ("-" . shrink-window-if-larger-than-buffer))) (provide 'init-ui) |