Emacs: Use windmove for moving between windows.
This commit is contained in:
parent
62a33a88e6
commit
3dae6df898
|
@ -1,6 +1,6 @@
|
|||
;;; input.el --- Configure behaviour of input devices. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2019-12-01T10:26:19+00:00>
|
||||
;; Time-stamp: <2020-01-21T01:49:19+0100>
|
||||
|
||||
;;; Commentary:
|
||||
;; * Setup mouse & keyboard behaviour.
|
||||
|
@ -64,11 +64,6 @@ With argument, do this that many times."
|
|||
;; Switch buffers.
|
||||
("M-<left>" . previous-buffer)
|
||||
("M-<right>" . next-buffer)
|
||||
;; Switch windows.
|
||||
("M-S-<left>" . previous-multiframe-window)
|
||||
("M-S-<right>" . next-multiframe-window)
|
||||
("s-<left>" . previous-multiframe-window) ; s = Super
|
||||
("s-<right>" . next-multiframe-window)
|
||||
;; Switch between header and implementation.
|
||||
("C-:" . ff-find-other-file)
|
||||
)
|
||||
|
@ -96,5 +91,11 @@ With argument, do this that many times."
|
|||
(which-key-mode)
|
||||
)
|
||||
|
||||
;; Navigate between windows with alt+arrows.
|
||||
(use-package windmove
|
||||
:config
|
||||
(windmove-default-keybindings '(meta shift))
|
||||
)
|
||||
|
||||
(provide 'basics/input)
|
||||
;;; input.el ends here
|
||||
|
|
Loading…
Reference in New Issue
Block a user