diff options
| author | Juri Linkov | 2018-11-16 01:40:15 +0200 |
|---|---|---|
| committer | Juri Linkov | 2018-11-16 01:40:15 +0200 |
| commit | 2cf9d9fed7de87a7b78fbc75a67a71fff00e8ffc (patch) | |
| tree | 07cd4db69ac3bda1f6705d1731e33b6268554adc /etc | |
| parent | f22a16ae066cc512322f115c2098837d74feeff8 (diff) | |
| download | emacs-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/NEWS | 12 |
1 files changed, 12 insertions, 0 deletions
| @@ -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. | ||
| 308 | The new command windmove-display-default-keybindings binds default | ||
| 309 | keys with provided modifiers (by default, shift-meta) to the commands | ||
| 310 | that display the next buffer in the window at the specified direction. | ||
| 311 | This is like windmove-default-keybindings that binds keys to commands | ||
| 312 | that select the window in the specified direction, but additionally it | ||
| 313 | displays 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, | ||
| 315 | creating the window if necessary. A special key can be customized to | ||
| 316 | display the buffer in the same window, for example, 'S-M-0 C-h e' | ||
| 317 | displays 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 |
| 308 | the edge of the frame. | 320 | the edge of the frame. |
| 309 | 321 | ||