Add windmove keybindings
This commit is contained in:
parent
9233e62dc4
commit
fe91d0a506
1 changed files with 5 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2020.1015.102640
|
;; Version: 2020.1019.134634
|
||||||
;; Package-Requires: (oni-data-dir expand-region multiple-cursors embrace gcmh diminish ws-butler)
|
;; Package-Requires: (oni-data-dir expand-region multiple-cursors embrace gcmh diminish ws-butler)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -141,6 +141,10 @@
|
||||||
(global-set-key (kbd "C-x C-b") 'ibuffer-jump)
|
(global-set-key (kbd "C-x C-b") 'ibuffer-jump)
|
||||||
(global-set-key [remap move-beginning-of-line] #'oni-core-move-beginning-of-dwim)
|
(global-set-key [remap move-beginning-of-line] #'oni-core-move-beginning-of-dwim)
|
||||||
(global-set-key [remap move-end-of-line] #'oni-core-move-end-of-dwim)
|
(global-set-key [remap move-end-of-line] #'oni-core-move-end-of-dwim)
|
||||||
|
(global-set-key (kbd "C-S-n") 'windmove-down)
|
||||||
|
(global-set-key (kbd "C-S-p") 'windmove-up)
|
||||||
|
(global-set-key (kbd "C-S-f") 'windmove-right)
|
||||||
|
(global-set-key (kbd "C-S-b") 'windmove-left)
|
||||||
|
|
||||||
(global-set-key (kbd "C-<left>") 'winner-undo)
|
(global-set-key (kbd "C-<left>") 'winner-undo)
|
||||||
(global-set-key (kbd "C-<right>") 'winner-redo)
|
(global-set-key (kbd "C-<right>") 'winner-redo)
|
||||||
|
|
Loading…
Reference in a new issue