Questions tagged [swiper]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
27 views

Ivy Mode Swiper key binding not working

I am learning my way around Emacs. I installed Ivy/Counsel recently. I am trying to use search with Swiper but cannot get the key binding to work. I can get it to work with M-x swiper. I am not sure ...
0
votes
0answers
14 views

issues with swiper char-folding and prescient

With following packages installed and correctly set up: ivy ,swiper, prescient, ivy-prescient and Emacs v27.1, there is a very special issue. The question is, which component is to blame (aka which ...
0
votes
1answer
100 views

How to use ivy to select email attachments with mu4e

I use the mu4e package to read my emails. However, I also use the ivy completion framework, which includes file completion. Using both packages together is a bit of a problem though. mu4e uses its own ...
0
votes
0answers
23 views

How to make imenu jump/preview new location when switching up/down like swiper or like fzf in vim?

How can I make imenu (with ivy wrapper) act like swiper, that mean auto switch to location when I use arrow key( or ivy-previous/next-line function) and if I exit it will come back to current location?...
1
vote
1answer
85 views

How to copy the search result (using Swiper) from search buffer in doom emacs?

I search the line containing rowid in the buffer, and want to copy all the lines in the result window. How to do that?
0
votes
1answer
66 views

How can I get swiper to remember the last search I ran?

Sometimes I do a search with swiper and navigate to a location in the code that seems like what I was searching for, only to find it wasn't. This is more common with a symbol name that is a little too ...
1
vote
0answers
58 views

How do I disable Swiper while defining a keyboard macro?

I don't like the swiper behavior when interactively defining a macro, it is slow and seems to cause other problems. How can I revert bound keys to isearch-forward and isearch-backward when defining ...
0
votes
0answers
16 views

swiper do not change input method

Every time I search for something with swiper, it switches input method to the default one. Is there a way to preserve selected input method for swiper-isearch?
1
vote
0answers
68 views

Swiper go to next matching line instead of next match?

When I use swiper to search and I press the down arrow key, it always goes to the next match even if that match is on the same line. Is there an easy way to go to the next line that has a match ...
4
votes
1answer
132 views

Escape Swiper even when match is required

Swiper automatically moves to the next location that matches your current input. You can press RET to return to the main buffer when the search is successful. When you type in a word that does not ...
2
votes
3answers
278 views

Mark input in swiper-thing-at-point

Having some command automatically populate the input string is a great thing (particularly, I refer to the feature that swiper-thing-at-point provides). However, I would like to enhance this ...
1
vote
1answer
161 views

dired-do-copy in tramp does not go to local when `\ C-j` is pressed. File path stays in the same directory

I am using dired-do-copy to copy a file from remote using tramp to local. When Copy file to path is promted. I used / C-j to go to local path but the path stays in the same directory , does not go to ...
0
votes
1answer
530 views

Why can't Emacs find counsel and swiper, even though they (and Ivy) seem installed, and Ivy working?

Why can't Emacs find counsel and swiper, even though they (as well as ivy) seem installed, and moreover Ivy mode is enabled, and seems to be working? This is what I get when I try the following: (...
2
votes
0answers
47 views

How do I cycle through file locations on counsel results?

I'm trying to look for all the occurrences of a word in my project and I'm using counsel for this. I get the list of occurrences and their locations in the minibuffer, but I'd like to cycle through ...
3
votes
2answers
1k views

Swiper get last search term

How to get swiper to search for the last searched term , much like (default) isearch-forward does when pressing C-s twice?
4
votes
1answer
512 views

Show counsel-ag results in separate buffer?

I use counsel-projectile for Ivy + Projectile interoperability. But, when I run something like C-c p s s / M-x counsel-projectile-ag, the results are shown in the minibuffer, and I can't see any ...
0
votes
0answers
138 views

can I have swiper and counsel as “add-ons” and not the default binding

I like the powers that counsel/ivy/swiper gives me, specially for C-s and C-x C-f, but since installing it, I've started missing the vanilla emacs C-s and C-x C-f. It would be awesome if I can "call" ...
0
votes
0answers
203 views

how to make counsel-locate respect my cwd

Emacs has a concept of "current directory", shown by doing M-x pwd I can change to specific directory by doing M-x cd I recently installed swiper/counsel/ivy, to make searching easier. Since the ...
3
votes
1answer
417 views

Extending word search selection in swiper

I have been using helm from some time and am now trying ivy, counsel and swiper. Regarding swiper I am wondering if there is a way of extending the word search selection. Just like hitting C-w after ...
3
votes
1answer
884 views

Swiper - How to move pointer to the next search item in the same line

I use swiper package to search and to navigate and I use C-n & C-p to search next and previous items. However, this doesn't go through the search items on the same line even though they are ...
6
votes
2answers
380 views

How to show the total match count in swiper?

When using swiper for search, it only shows the number of matching lines. How can I view the number of matches?
2
votes
0answers
112 views

Prevent text jumping up the screen when dismissing Swiper

Swiper creates a minibuffer many lines in height. This height is borrowed equally from my existing, vertically-arranged, windows. When Swiper is dismissed, this space is recovered by the windows and ...
4
votes
3answers
1k views

Is it possible to insert word at point in swiper?

I'm using swiper for searching, one thing i very much miss compared to isearch is to insert the word at point into swiper. I have icicles installed, but M-., which i usally use to insert word at point ...
3
votes
1answer
909 views

How to highlight ivy candidates in the manner of hl-line?

Coming from helm, I am giving swiper and ivy-mode a shot. I'm looking for a way to highlight candidates in the way hl-line-mode does: full width background.
3
votes
1answer
537 views

How can I start swiper with an initial filter?

I'd like to start swiper with a filter pre-set on the search -- as if I'd entered a search expression and then used S-SPC (ivy-restrict-to-matches) to clear the query space to narrow the results down ...
4
votes
1answer
634 views

How to make swiper-helm to use helm layout?

I set this in helm (setq helm-split-window-in-side-p nil) This forces helm to use selected window for helm session like this(When point is in right split, helm buffer popped in left split only). ...