aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov2018-11-16 01:40:15 +0200
committerJuri Linkov2018-11-16 01:40:15 +0200
commit2cf9d9fed7de87a7b78fbc75a67a71fff00e8ffc (patch)
tree07cd4db69ac3bda1f6705d1731e33b6268554adc /etc
parentf22a16ae066cc512322f115c2098837d74feeff8 (diff)
downloademacs-2cf9d9fed7de87a7b78fbc75a67a71fff00e8ffc.tar.gz
emacs-2cf9d9fed7de87a7b78fbc75a67a71fff00e8ffc.zip
* lisp/windmove.el: Directional window display (bug#32790)
* lisp/windmove.el (windmove-display-no-select): New defcustom. (windmove-display-in-direction, windmove-display-left) (windmove-display-up, windmove-display-right) (windmove-display-down, windmove-display-same-window) (windmove-display-default-keybindings): New functions.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 4f3b9a9a061..6e52f6cd1fa 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -304,6 +304,18 @@ back, customize follow-hide-ghost-cursors to nil.
304 304
305** Windmove 305** Windmove
306 306
307*** Windmove supports directional window display and selection.
308The new command windmove-display-default-keybindings binds default
309keys with provided modifiers (by default, shift-meta) to the commands
310that display the next buffer in the window at the specified direction.
311This is like windmove-default-keybindings that binds keys to commands
312that select the window in the specified direction, but additionally it
313displays the buffer from the next command in that window. For example,
314'S-M-right C-h i' displays the *Info* buffer in the right window,
315creating the window if necessary. A special key can be customized to
316display the buffer in the same window, for example, 'S-M-0 C-h e'
317displays the *Messages* buffer in the same window.
318
307*** windmove-create-window when non-nil makes a new window on moving off 319*** windmove-create-window when non-nil makes a new window on moving off
308the edge of the frame. 320the edge of the frame.
309 321