Skip to content

Instantly share code, notes, and snippets.

@edwin-bluekite
Last active December 20, 2015 17:38
Show Gist options
  • Save edwin-bluekite/6169666 to your computer and use it in GitHub Desktop.
Save edwin-bluekite/6169666 to your computer and use it in GitHub Desktop.
emacs other-window-backward function
(defun other-window-backward(&optional n)
"Select Nth previows window"
(interactive "p")
(other-window (- (or n -1))
)
(global-set-key "\C-x\C-p" 'other-window-backward)
(global-set-key "\C-x\C-n" 'other-window)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment