Emacs move window down

I have several windows open in emacs through C-X 2. However, sometimes I want to move the window from top to bottom so that the window below it moves up, and this window that I want to move goes down one place. I am not talking about moving in windows, but moving the actual window. Is this possible in emacs?

+4
source share
1 answer

Try the following:

(require 'buffer-move)
(global-set-key (kbd "<C-S-up>")     'buf-move-up)
(global-set-key (kbd "<C-S-down>")   'buf-move-down)
(global-set-key (kbd "<C-S-left>")   'buf-move-left)
(global-set-key (kbd "<C-S-right>")  'buf-move-right)
+4
source

Source: https://habr.com/ru/post/1536800/


All Articles