about summary refs log tree commit diff stats
path: root/emacs-prelude/personal/lisp/init-ui.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs-prelude/personal/lisp/init-ui.el')
-rw-r--r--emacs-prelude/personal/lisp/init-ui.el22
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)