Quebra Janela verticalmente
C-x 2
Quebra Janela horizontalmente
C-x 3
Setando atalhos para mover entre janelas
(global-set-key (kbd "C-<kp-left>") 'windmove-left) ;; Ctrl + left
(global-set-key (kbd "C-<kp-4>") 'windmove-left) ;; NumLock Ativado
(global-set-key (kbd "C-<kp-right>") 'windmove-right) ;; Ctrl + right
(global-set-key (kbd "C-<kp-6>") 'windmove-right) ;; NumLock Ativado
(global-set-key (kbd "C-<kp-up>") 'windmove-up)
(global-set-key (kbd "C-<kp-8>") 'windmove-up) ;; NumLock Ativado
(global-set-key (kbd "C-<kp-down>") 'windmove-down)
(global-set-key (kbd "C-<kp-2>") 'windmove-down) ;; NumLock Ativado
Setando funcoes e atalhos para redimensionar janelas
(global-set-key (kbd "S-M-<kp-left>") 'shrink-window-horizontally)
(global-set-key (kbd "S-M-<kp-right>") 'enlarge-window-horizontally)
(global-set-key (kbd "M-S-<kp-down>") 'shrink-window)
(global-set-key (kbd "M-S-<kp-up>") 'enlarge-window)
Para permitir voltar janelas fechadas
(winner-mode)
C-c <left> ;; undo de janela
C-c <right> ;; redo de janela
C-u <space>; volta posicao do cursor pra ultima posicao anterior
No comments:
Post a Comment