summary refs log tree commit diff
path: root/emacs/init.el
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-18 20:36:28 +0000
committernoa@gaiwan.org2024-06-18 20:36:28 +0000
commit0e9a493c52c5010dc62280098fffa38ef5b1fd7d (patch)
tree754815ec9855671e85a581781be23310c4bddde3 /emacs/init.el
parentd974e4a9b0f740baa695f307b256f2e2c7213803 (diff)
Remove functions for automatically switching to new split window
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el13
1 files changed, 0 insertions, 13 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 5934c45..539c89a 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -946,19 +946,6 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
   (consult-ripgrep "~/"))
 (global-set-key (kbd "<f5>") #'noa/consult-rg-home)
 
-;; Switch to new window on creation
-(defun noa/split-and-follow-horizontally ()
-  (interactive)
-  (split-window-below)
-  (other-window 1))
-(global-set-key (kbd "C-x 2") 'noa/split-and-follow-horizontally)
-
-(defun noa/split-and-follow-vertically ()
-  (interactive)
-  (split-window-right)
-  (other-window 1))
-(global-set-key (kbd "C-x 3") 'noa/split-and-follow-vertically)
-
 (setopt shell-file-name "/bin/sh")
 
 (defun snarf-song (url)