New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swiper-avy usage #1915
Comments
I have a similar issue that Emacs v. 26.1 (use-package ivy
:ensure t
:bind (("C-c C-r" . ivy-resume)
:map ivy-minibuffer-map
("C-'" . ivy-avy))
:config
(ivy-mode 1)
(setq ivy-use-virtual-buffers t)
(setq ivy-count-format "%d/%d ")
(setq ivy-display-style 'fancy))
(use-package ivy-rich
:ensure t
:after ivy
:init
(setq ivy-rich-path-style 'abbrev
ivy-virtual-abbreviate 'full)
:config (ivy-rich-mode 1))
(use-package counsel
:ensure t
:after ivy
:config
(counsel-mode))
(use-package swiper
:ensure t
:after ivy
:bind (("C-s" . swiper)
("C-r" . swiper)))
;; Actions
;;;;;;;;;;;;;;;
;;; delete files when perusing your file system
;; (ivy-set-actions
;; 'counsel-find-file
;; '(("d" delete-file "delete")))
Steps: Avy in Swiper
Steps ivy-Resume:
I should add that I use emacsclient ( |
Thanks, please test. |
@abo-abo I cannot get it to work in a python file that only has these lines d = "helo"
a = "hi"
sfr = " hlloww"
I don't have any extra packages for Python (not using elpy only company/company-jedi). Checked the bindings and nothing binded to
Specifically, swiper-avy still does not work. I'm not sure if I should manually add a minibuffer keybinding with I made sure I updated the package by
And also went into should Swiper-avy be binded same way as ivy? -> (use-package ivy
:ensure t
:bind (("C-c C-r" . ivy-resume)
:map ivy-minibuffer-map
("C-'" . ivy-avy))
:config
(ivy-mode 1)
(setq ivy-use-virtual-buffers t)
(setq ivy-count-format "%d/%d ")
(setq ivy-display-style 'fancy)) If so how? Is there a variable for swiper like |
@avocadoras You don't need any extra config. Just have The problem is likely in your config. Try to reproduce with |
In my case It's solved. |
@avocadoras I'm glad you solved your problem :) |
I'm running emacs 26.1 with
counsel
,ivy
,avy
andswiper
installed from melpa and up to date.My init file is (excluding
use-package
configurations)When searching for "a" with
swiper
through this buffer,, I expected a call to
swiper-avy
would allow me to jump to any of the matches.Instead,
swiper-avy
only sets up one shortcut for each matching line.Is it something wrong with my config?
Thanks
The text was updated successfully, but these errors were encountered: