Skip to content

Instantly share code, notes, and snippets.

Robin Green greenrd

Block or report user

Report or block greenrd

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View emacsd-tile.el
;; emacsd-tile.el -- tiling windows for emacs
;; Sep 2010: Modified by Robin Green <greenrd@greenrd.org> to use modified cursor keys
(defun swap-with (dir)
(interactive)
(let ((other-window (windmove-find-other-window dir)))
(when other-window
(let* ((this-window (selected-window))
(this-buffer (window-buffer this-window))
(other-buffer (window-buffer other-window))
You can’t perform that action at this time.