summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el20
1 files changed, 15 insertions, 5 deletions
diff --git a/emacs/init.el b/emacs/init.el
index b332815..789f3d3 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -588,11 +588,6 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
 ;; We are on a unix system, so it makes sense to end files in the unix system way.  I'm surprised this isn't the default.
 (setopt require-final-newline t)
 
-(setopt window-min-height 1
-        window-combination-resize t
-        window-resize-pixelwise t
-        frame-resize-pixelwise t)
-
 ;; Zap up to char
 (global-set-key (kbd "M-z") 'zap-up-to-char)
 
@@ -833,3 +828,18 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
   (which-key-mode t))
 
 
+(use-package windmove
+  :disabled t
+  :bind*
+  (("M-b" . windmove-left)
+   ("M-f" . windmove-right)
+   ("M-p" . windmove-up)
+   ("M-n" . windmove-down)))
+
+;; for whatever reason, window-combination-resize doesn't work with this
+(global-set-key (kbd "C-x 3") #'split-root-window-right)
+(setopt window-min-height 1
+        window-combination-resize t
+        window-resize-pixelwise t
+        frame-resize-pixelwise t)
+