Split current GNU Emacs window and move point to the new pane
With Quelpa
(use-package split-and-move
:quelpa (split-and-move
:fetcher github
:repo "EricCrosson/split-and-move")
:bind (("C-x 2" . split-and-move-below)
("C-x 3" . split-and-move-right)))
Or manually, after downloading into your load-path
(require 'split-and-move)
(bind-keys
("C-x 2" . split-and-move-below)
("C-x 3" . split-and-move-right))
I definitely got this code from somewhere but can't find the original source as it has mutated inside my configs over the past several years. Here's a version that's pretty close.
GPL 2 (or higher) © Free Software Foundation, Inc.