Change g s / and g s SPC

The former searches the current window/buffer, the latter searches all
windows in the frame.

Removes g s ? (deemed not as useful as avy-goto-char-timer)
This commit is contained in:
Henrik Lissner 2019-07-09 02:32:10 +02:00
parent 7f964bfa65
commit e146cba00e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 3 additions and 7 deletions

View file

@ -162,13 +162,8 @@
:bind ((evil-snipe-scope 'buffer) :bind ((evil-snipe-scope 'buffer)
(evil-snipe-enable-highlight) (evil-snipe-enable-highlight)
(evil-snipe-enable-incremental-highlight))) (evil-snipe-enable-incremental-highlight)))
"SPC" #'avy-goto-char-timer "SPC" (λ!! #'avy-goto-char-timer t)
"/" (evilem-create #'evil-ex-search-next "/" #'avy-goto-char-timer)
:pre-hook (save-excursion (call-interactively #'evil-ex-search-forward))
:bind ((evil-search-wrap)))
"?" (evilem-create #'evil-ex-search-previous
:pre-hook (save-excursion (call-interactively #'evil-ex-search-backward))
:bind ((evil-search-wrap))))
;; text object plugins ;; text object plugins
:textobj "x" #'evil-inner-xml-attr #'evil-outer-xml-attr :textobj "x" #'evil-inner-xml-attr #'evil-outer-xml-attr

View file

@ -18,6 +18,7 @@
;;;###package avy ;;;###package avy
(setq avy-all-windows nil (setq avy-all-windows nil
avy-all-windows-alt t
avy-background t) avy-background t)