From e8347405f6aa9a43653134b389e990a51cb142cf Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Tue, 9 Feb 2016 10:45:18 +0100 Subject: [PATCH] Bind shift f3 and f4 to previous/next frame. As we use already f3/f4 for previous/next window. --- bba.org | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/bba.org b/bba.org index 9acddd2a..7a956d3b 100644 --- a/bba.org +++ b/bba.org @@ -1738,6 +1738,8 @@ With modifications by [[http://sachachua.com/blog/2011/12/emacs-artbollocks-mode [2014-09-24 Wed 13:03] Bind f3 and f4 to previous/next pane. +Bind shift f3 and shift f4 to previous/next frame. + #+BEGIN_SRC emacs-lisp (defun move-cursor-next-pane () "Move cursor to the next pane." @@ -1749,8 +1751,20 @@ Bind f3 and f4 to previous/next pane. (interactive) (other-window -1)) + (defun move-cursor-next-frame () + "Move cursor to the next frame." + (interactive) + (other-frame 1)) + + (defun move-cursor-previous-frame () + "Move cursor to the previous frame." + (interactive) + (other-frame -1)) + (global-set-key (kbd "") 'move-cursor-previous-pane) + (global-set-key (kbd "S-") 'move-cursor-previous-frame) (global-set-key (kbd "") 'move-cursor-next-pane) + (global-set-key (kbd "S-") 'move-cursor-next-frame) #+END_SRC * [[https://github.com/dotemacs/ipcalc.el][ipcalc]] -- 2.47.3