diff options
| author | Juri Linkov | 2018-11-25 23:40:00 +0200 |
|---|---|---|
| committer | Juri Linkov | 2018-11-25 23:40:00 +0200 |
| commit | df108bf927494909ad3df206814fe688cd332db5 (patch) | |
| tree | 816639adf7b933bda4b85e23b25aa49449c8ede8 /etc | |
| parent | 1b8c5961ea6816db9d1bd725c3815ed3dcbd3643 (diff) | |
| download | emacs-df108bf927494909ad3df206814fe688cd332db5.tar.gz emacs-df108bf927494909ad3df206814fe688cd332db5.zip | |
* lisp/windmove.el: Directional window deletion (bug#32790)
* lisp/windmove.el (windmove-delete-in-direction)
(windmove-delete-left, windmove-delete-up)
(windmove-delete-right, windmove-delete-down)
(windmove-delete-default-keybindings): New functions.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 12 |
1 files changed, 10 insertions, 2 deletions
| @@ -304,6 +304,9 @@ back, customize 'follow-hide-ghost-cursors' to nil. | |||
| 304 | 304 | ||
| 305 | ** Windmove | 305 | ** Windmove |
| 306 | 306 | ||
| 307 | *** 'windmove-create-window' when non-nil makes a new window on moving off | ||
| 308 | the edge of the frame. | ||
| 309 | |||
| 307 | *** Windmove supports directional window display and selection. | 310 | *** Windmove supports directional window display and selection. |
| 308 | The new command 'windmove-display-default-keybindings' binds default | 311 | The new command 'windmove-display-default-keybindings' binds default |
| 309 | keys with provided modifiers (by default, Shift-Meta) to the commands | 312 | keys with provided modifiers (by default, Shift-Meta) to the commands |
| @@ -316,8 +319,13 @@ 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' | 319 | display the buffer in the same window, for example, 'S-M-0 C-h e' |
| 317 | displays the *Messages* buffer in the same window. | 320 | displays the *Messages* buffer in the same window. |
| 318 | 321 | ||
| 319 | *** 'windmove-create-window' when non-nil makes a new window on moving off | 322 | *** Windmove also supports directional window deletion. |
| 320 | the edge of the frame. | 323 | The new command 'windmove-delete-default-keybindings' binds default |
| 324 | keys with provided prefix (by default, C-x) and modifiers (by default, | ||
| 325 | Shift) to the commands that delete the window in the specified | ||
| 326 | direction. For example, 'C-x S-down' deletes the window below. | ||
| 327 | With a prefix arg 'C-u', deletes the selected window and selects | ||
| 328 | the window that was in the specified direction. | ||
| 321 | 329 | ||
| 322 | ** Octave mode | 330 | ** Octave mode |
| 323 | The mode is automatically enabled in files that start with the | 331 | The mode is automatically enabled in files that start with the |