From fe91d0a506a052acc5c1ad7ae961a20ae4196279 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 19 Oct 2020 13:48:09 -0700 Subject: [PATCH] Add windmove keybindings --- oni-core.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/oni-core.el b/oni-core.el index 620a337..c24e719 100644 --- a/oni-core.el +++ b/oni-core.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2020.1015.102640 +;; Version: 2020.1019.134634 ;; 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 @@ -141,6 +141,10 @@ (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-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-") 'winner-undo) (global-set-key (kbd "C-") 'winner-redo)