From 667e0c240481666df849ea156ec4b91be19f6964 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 23 Jan 2020 03:39:28 +0100 Subject: [PATCH] Emacs: Add Emacs-over-SSH workaround for windmove. --- init.d/basics/input.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/init.d/basics/input.el b/init.d/basics/input.el index 00cfbea..c4040ba 100644 --- a/init.d/basics/input.el +++ b/init.d/basics/input.el @@ -1,6 +1,6 @@ ;;; input.el --- Configure behaviour of input devices. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-01-21T01:49:19+0100> +;; Time-stamp: <2020-01-23T03:39:19+0100> ;;; Commentary: ;; * Setup mouse & keyboard behaviour. @@ -95,6 +95,12 @@ With argument, do this that many times." (use-package windmove :config (windmove-default-keybindings '(meta shift)) + + :bind ; Needed for Emacs-over-SSH. 🤷 + ([(meta shift left)] . windmove-left) + ([(meta shift right)] . windmove-right) + ([(meta shift up)] . windmove-up) + ([(meta shift down)] . windmove-down) ) (provide 'basics/input)