From 9fa447a83b18bd06ddaeb0c48bdaf6b5f8229c54 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 30 Oct 2019 22:09:52 -0400 Subject: [PATCH] Remove SPC DEL binding Instead, 'ga' (or calling `what-cursor-position`) will trigger nav-flash, to serve as the "where's my cursor" command from now on. Closes #1883 --- modules/config/default/+evil-bindings.el | 1 - modules/ui/nav-flash/config.el | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/config/default/+evil-bindings.el b/modules/config/default/+evil-bindings.el index 93651d08e..7bbe24af7 100644 --- a/modules/config/default/+evil-bindings.el +++ b/modules/config/default/+evil-bindings.el @@ -292,7 +292,6 @@ :desc "Search for symbol in project" "*" #'+default/search-project-for-symbol-at-point :desc "Find file in project" "SPC" #'projectile-find-file - :desc "Blink cursor line" "DEL" #'+nav-flash/blink-cursor :desc "Jump to bookmark" "RET" #'bookmark-jump ;;; / --- search diff --git a/modules/ui/nav-flash/config.el b/modules/ui/nav-flash/config.el index cd3816a77..fbd7515b2 100644 --- a/modules/ui/nav-flash/config.el +++ b/modules/ui/nav-flash/config.el @@ -27,4 +27,7 @@ ;; `evil' (advice-add #'evil-window-top :after #'+nav-flash-blink-cursor-a) (advice-add #'evil-window-middle :after #'+nav-flash-blink-cursor-a) - (advice-add #'evil-window-bottom :after #'+nav-flash-blink-cursor-a)) + (advice-add #'evil-window-bottom :after #'+nav-flash-blink-cursor-a) + + ;; Bound to `ga' for evil users + (advice-add #'what-cursor-position :after #'+nav-flash-blink-cursor-a))