Questions tagged [swiper]
The swiper tag has no usage guidance.
27
questions
1
vote
0
answers
38
views
How can I keep the default `yank-pop` behaviour after installing swiper?
Swiper replaces the behaviour of the M-y command (yank-pop) with its own implementation, which shows the contents of the kill ring.
I like the default behaviour of M-y prior to installing this package ...
0
votes
1
answer
32
views
With swiper counsel ivy installed I get a 4 digit number in front of M-x in the mini-buffer. What does this number relate to?
It doesn’t seem to be related either to the line I am in nor to the number of chars in the document.
3
votes
0
answers
192
views
How to delete lines in ivy-occur-mode?
In a typical search and replace type workflow, I use swiper to search for all instances of an expression that I want to edit in a buffer. To work on the instances collectively, I enter the ivy-occur ...
0
votes
0
answers
286
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
1
answer
257
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 ...
1
vote
0
answers
37
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?...
2
votes
1
answer
328
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
1
answer
181
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
0
answers
124
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 ...
1
vote
0
answers
209
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
1
answer
387
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
3
answers
557
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 ...
2
votes
1
answer
350
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 ...
1
vote
1
answer
1k
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
0
answers
64
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 ...
6
votes
2
answers
2k
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
1
answer
734
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
0
answers
163
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
0
answers
286
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 ...
4
votes
1
answer
545
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
1
answer
1k
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
2
answers
511
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
0
answers
127
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
3
answers
2k
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 ...
4
votes
1
answer
1k
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
1
answer
688
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
1
answer
728
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).
...