From dba8e0b6614a6a70f216551de824dc7fc5600844 Mon Sep 17 00:00:00 2001 From: Fabien Dubosson Date: Tue, 5 Jan 2016 01:05:50 +0100 Subject: [PATCH] Remove bepo hack and use evil-magit state --- layers/+keyboard-layouts/bepo/keybindings.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/layers/+keyboard-layouts/bepo/keybindings.el b/layers/+keyboard-layouts/bepo/keybindings.el index 15414ac27..8dc1714aa 100644 --- a/layers/+keyboard-layouts/bepo/keybindings.el +++ b/layers/+keyboard-layouts/bepo/keybindings.el @@ -234,8 +234,6 @@ (bepo/set-in-state helm-generic-files-map "C-s" 'helm-previous-line) (bepo/set-in-state helm-generic-files-map "C-k" 'helm-ff-run-grep))) -;; HACK: Waiting to find the bug… -(setq evil-magit-use-y-for-yank nil) (bepo|config magit :description "Remap `magit' bindings." @@ -243,7 +241,7 @@ (spacemacs|use-package-add-hook magit :post-config BODY) :config (progn - (bepo/evil-correct-keys 'motion magit-mode-map + (bepo/evil-correct-keys evil-magit-state magit-mode-map "j" "k" "C-j"