aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov2018-11-25 23:40:00 +0200
committerJuri Linkov2018-11-25 23:40:00 +0200
commitdf108bf927494909ad3df206814fe688cd332db5 (patch)
tree816639adf7b933bda4b85e23b25aa49449c8ede8 /etc
parent1b8c5961ea6816db9d1bd725c3815ed3dcbd3643 (diff)
downloademacs-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/NEWS12
1 files changed, 10 insertions, 2 deletions
diff --git a/etc/NEWS b/etc/NEWS
index eb3f314ccf4..1ddc565b8ba 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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
308the edge of the frame.
309
307*** Windmove supports directional window display and selection. 310*** Windmove supports directional window display and selection.
308The new command 'windmove-display-default-keybindings' binds default 311The new command 'windmove-display-default-keybindings' binds default
309keys with provided modifiers (by default, Shift-Meta) to the commands 312keys 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
316display the buffer in the same window, for example, 'S-M-0 C-h e' 319display the buffer in the same window, for example, 'S-M-0 C-h e'
317displays the *Messages* buffer in the same window. 320displays 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.
320the edge of the frame. 323The new command 'windmove-delete-default-keybindings' binds default
324keys with provided prefix (by default, C-x) and modifiers (by default,
325Shift) to the commands that delete the window in the specified
326direction. For example, 'C-x S-down' deletes the window below.
327With a prefix arg 'C-u', deletes the selected window and selects
328the window that was in the specified direction.
321 329
322** Octave mode 330** Octave mode
323The mode is automatically enabled in files that start with the 331The mode is automatically enabled in files that start with the