From 0e9a493c52c5010dc62280098fffa38ef5b1fd7d Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Tue, 18 Jun 2024 20:36:28 +0000 Subject: Remove functions for automatically switching to new split window --- emacs/init.el | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'emacs') 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 "") #'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) -- cgit 1.4.1-2-gfad0