Skip to main content

Questions tagged [ivy]

Ivy is a generic completion mechanism for Emacs.

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

Why does M-x and C-x b get stuck?

Recently, I experience that M-x and C-x b gets stuck, meaning I can't move up or down in the list; only the middle item is highlighted This is both M-x (counsel-M-x) and C-x b (ivy-switch-buffer) This ...
Jason Hunter's user avatar
0 votes
0 answers
27 views

Ivy tool tips and ctrl-d brining up unwanted documentation

Using emacs 30, I have an issue where when an ivy tooltip pops up, pressing ctrl-d causes documentation to show up instead of the expected deleting of a character. I've not been able to determine how ...
Silfheed's user avatar
  • 203
0 votes
0 answers
23 views

How to invoke ivy-immediate-done in emacs prelude

I recently installed the prelude distribution of emacs, with minimal customizations. I want to invoke ivy-immediate-done C-M-j (ivy-immediate-done) - exit with the current action, calling it on the ...
Duncan Britt's user avatar
0 votes
0 answers
29 views

resize font in ivy-posframe

i'm tryinng to set the font in ivy-posframe and no result. i have try code adapt to another cases, like: (defun text-scale-twice ()(interactive)(progn(text-scale-adjust 0)(text-scale-decrease 2))) (...
Levo's user avatar
  • 47
0 votes
1 answer
30 views

Can literal prefixes be privileged in counsel-find-file ordering?

After many years of living in vanilla Emacs, I am playing with souping things up a bit, and trying out ivy/counsel. I'm finding the experience of counsel-find-file a bit jarring, because it does not ...
Steve Waldman's user avatar
0 votes
1 answer
208 views

ivy-rich-mode not loading automatically after Emacs restart

If after restarting Emacs I do M-x ivy-rich-mode, the minibuffer displays "ivy-rich-mode disabled." However, despite this message, the ivy-rich functionality, such as vertical completion, ...
user avatar
0 votes
1 answer
107 views

With Ivy/Counsel, why are some foreground colors in `M-x` a different color than others?

Please see the picture below. Why are some things colored orange? I can't figure out what Face is causing that. This is using Ivy/Counsel.
Dargscisyhp's user avatar
2 votes
1 answer
102 views

using "Shift+Space" in org-mode capture minibuffer

Using Emacs 28.2 (graphical, not text mode) from https://emacsformacosx.com with org-mode 9.5.5 and ivy. When entering a task description in the mini-buffer via org-capture, I occasionally enter both ...
uselpa's user avatar
  • 131
1 vote
0 answers
42 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 ...
vise's user avatar
  • 121
0 votes
1 answer
52 views

Ivy-dispatching-done (M-o) action list is not showing all options

I use counsel-projectile-switch-project to pop up a list of projects and M-o to bring up the action list, but the action list is like this. and there's no way to scroll to get the top options like &...
Sean's user avatar
  • 11
0 votes
3 answers
194 views

Why can't counsel-rg index an expression previously found?

I am using trying to use a command called counsel-rg. This is the associated describe-command: counsel-rg is an autoloaded interactive compiled Lisp function in ‘counsel.el’. (counsel-rg &...
Pedro Delfino's user avatar
0 votes
2 answers
97 views

Open pdf of citation in auctex

One can currently open a pdf of a citation in a latex document via the following steps: open a latex document in emacs with installed packages auctex, reftex, ivy-bibtex, and pdf-tools move cursor ...
HRSE's user avatar
  • 123
1 vote
1 answer
309 views

Minibuffer completion

I am getting confused about minibuffer completion. I can see icomplete and ivy. For icomplete, there are two main displays, horizontal display (default icomplete) and vertical display (icomplete-...
Dilna's user avatar
  • 1
0 votes
0 answers
43 views

Understand edebug stack tracing

so for some unknown reason, whenever I edebug-defun to counsel-jq, I get the following error edebug-syntax-error: Invalid read syntax: "Expected one of", symbolp, lambda-expr stack trace ...
A-nak Wannapaschaiyong's user avatar
2 votes
1 answer
219 views

Why is ivy-switch-buffer not found in counsel-M-x, but works when called by C-x b (or from the scratch buffer)

According to helpful-key, C-x b is bound to ivy switch buffer: According to the code, that is an interactive function. However, when I look for it in the Counsel-M-x menu, it's not found: I figured ...
Dargscisyhp's user avatar
1 vote
1 answer
863 views

Fuzzy Search with Counsel

I have this function: crux-rename-file-and-buffer , but when I do M-x rename, why isn't this shown as an alternative? I thought ivy was supposed to assist with that, using a fuzzy search? Why is it ...
Jason Hunter's user avatar
3 votes
1 answer
68 views

Emacs recent buffers use `~` abbreviation?

I have my entire Spacemacs config syncing between a Mac and a Linux machine, which provides a lot of benefits. My packages are always up to date on both systems, a configuration change on one machine ...
Mark Aldrich's user avatar
0 votes
1 answer
342 views

How to enable fuzzy matching in Ivy's prompt-buffer via use-package?

I used to use Helm and I really liked it. After watching System Crafter's YouTube series called "Emacs from Scratch", I decided to use the configuration showcased. The YouTuber prefers Ivy ...
Pedro Delfino's user avatar
1 vote
1 answer
137 views

Ivy minibuffer colums not left-justified with my setup

I am following System Crafters series on Emacs from Scratch on YouTube. With my configuration as I have set it up, Ivy doesn't appear in nice left-justified easy-to-read columns. I am trying to figure ...
Lindsay's user avatar
  • 37
1 vote
1 answer
526 views

Insert path into buffer with vertico.el

I have recently switched from ivy to vertico for the file completion menu system (the new default in doom). Sometimes I want to insert the full path to a file into the current buffer (for example ...
Romeo Valentin's user avatar
0 votes
1 answer
33 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.
Martin Petersen's user avatar
2 votes
0 answers
216 views

How to speed up tramp with ivy

I use ivy for file and buffer completion. As soon as I have one (dired) buffer which gets its content via tramp from a (slow) remote server all buffer and file selection commands become very slow even ...
halloleo's user avatar
  • 1,365
1 vote
1 answer
186 views

Ivy version of mu4e-view-save-attachments

I used to use helm and really liked mu4e-view-save-attachments as a quick way to save multiple attachments in an email at once. I recently switched to Ivy and learned this function is helm specific. ...
jds's user avatar
  • 177
0 votes
0 answers
34 views

How can I change the ivy defaults for diff?

When I invoke diff I get two ivy prompts. The first one defaults to the current buffer, the second often to some kind of backup. It is quite awkward to navigate from the backup path to any useful ...
xeruf's user avatar
  • 354
1 vote
1 answer
214 views

Accept default in ivy filename prompt

Using Doom Emacs, when I invoke a command (such as diff) that needs a filepath I get an ivy prompt that names a default value: But I am unable to clear the line or somehow tell ivy to take that ...
xeruf's user avatar
  • 354
3 votes
0 answers
223 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 ...
Tian's user avatar
  • 288
0 votes
1 answer
98 views

ESS: start R in current directory conflicts with ivy-mode

I use ivy-mode for completion. I don't usually want to see the dot files ("./" and "../") when selecting files/directories, so I've set (setq ivy-extra-directories nil). I also ...
Tyler's user avatar
  • 22.5k
0 votes
3 answers
411 views

Limit counsel-locate to certain file type and directory

CentOS 7, Emacs 27.2, Ivy, Swiper, Counsel package. In Temp folder I have different files. I want to find using counsel-locate all text files only in this folder and all subfolders. I try this: As ...
a_subscriber's user avatar
  • 4,204
0 votes
0 answers
414 views

Not all counsel-find-file actions are shown

Linux Mint 20.1 , Emacs 27.2, I installed Ivy, Swiper and Counsel. So in sources file of counsel.el I find this: (ivy-set-actions 'counsel-find-file '(("j" find-file-other-window "...
a_subscriber's user avatar
  • 4,204
1 vote
1 answer
2k views

Auto-load Ivy.elc failed to define swiper

I get the followingerror message: command-execute: Autoloading file /home/user/.emacs.d/elpa/ivy-20210506.2157/ivy.elc failed to define function swiper after just having installed emacs 27.2 and ...
Robert Synofzik's user avatar
0 votes
0 answers
231 views

Minibuffer not showing the bottom line

When I use multiple monitors, the bottom line of the minibuffer doesn't render; ie there's a line at the bottom of the list that I can select but doesn't render on screen. I'm pretty stumped on how to ...
cryptograthor's user avatar
0 votes
1 answer
962 views

Ivy: How can I execute an action on a selection without opening the action menu?

Apologies if the question is poorly formulated, I am a beginner at understanding internals of Emacs/packages. I am using using Doom Emacs, which provides Ivy as an interface for, for example, finding ...
gosha's user avatar
  • 113
0 votes
1 answer
79 views

Getting text input into ivy completing read

I know that I can get previous selections of ivy with ivy-history. But is there any way to get what was actually input into the search before choosing a match?
Haf's user avatar
  • 115
0 votes
0 answers
316 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 ...
celmata's user avatar
1 vote
0 answers
54 views

improve ivy's completions

When I do M-x package install, (with a space between the words) I get: I'd like the "package-install" option to be prioritized over "package-menu-mark-install". What can I do to ...
WickedJargon's user avatar
1 vote
1 answer
2k views

binding <tab> to company complete

I would like to always trigger company suggests. When I use: (global-set-key (kbd "<tab>") 'company-complete)) It breaks ivy's completion in the minibuffer. How can I prevent this? I ...
WickedJargon's user avatar
0 votes
1 answer
190 views

Follow org links in current buffer with ivy

How can I follow org links in the current buffer using ivy? This is similar functionality to m (M-x Info-menu) in info with ivy/counsel installed. The command should list with ivy everything that ...
Croad Langshan's user avatar
0 votes
1 answer
477 views

Disable `icomplete` with Emacs `find-file`

I have been experimenting with various completion frameworks in Emacs. I am currently using consult together with icomplete. I like the way things are working for me but I would like to disable ...
Edman's user avatar
  • 1,229
2 votes
1 answer
460 views

How to stop ivy-switch-buffer from trying to connect

I'm using ivy-use-virtual-buffers to see both currently and recently visited buffers in Swiper's ivy-switch-buffer and it worked great until last month when I opened distant files via ssh/Tramp. Ever ...
yPhil's user avatar
  • 993
4 votes
1 answer
957 views

How can I edit the beginning of the counsel-find-file filename whilst preserving the rest

I work on projects with deep directory structures and have several copies in different top-level directories. I sometimes find myself wanting to open the corresponding file in one of the other ...
Mike Crowe's user avatar
0 votes
0 answers
139 views

Can `ivy-switch-buffer` add the current project's files (via `projectile`)?

I bind C-x b to ivy-switch-buffer and I've gotten used to the idea that pretty much all files I might want are in there (I use ivy-use-virtual-buffers to show recent files). But sometimes they're not, ...
GaryO's user avatar
  • 496
0 votes
1 answer
269 views

Argument to ivy-read action when collection is an alist

The documentation of ivy-read states that if the collection supplied is an alist, the selected candidate is passed as a cons cell to the function supplied in the :action argument. So why does the code ...
Florian's user avatar
  • 241
1 vote
1 answer
200 views

What are the yellow-background items in Ivy?

I'm currently migrating from Helm to ivy+counsel, and I have a problem with the faces ivy applies in the minibuffer for some commands. See this example: Some of the possible selections are ...
Lukas Barth's user avatar
0 votes
0 answers
69 views

Cannot capture notes into separate org file when entering reference into Bibtex with ivy

I am using emacs 27.1-4.1 with Spacemacs v.o.200.13 Ivy and vims. I am relatively new to emacs and am expanding into bibtex with ivy-bibtex. in my .spacemacs file is: (autoload 'ivy-bibtex "ivy-...
Richard's user avatar
0 votes
1 answer
274 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 ...
Tyler's user avatar
  • 22.5k
1 vote
1 answer
224 views

Why ivy-immediate-done is not shown in counsel-M-x

I realize that ivy-immediate-done is not shown in counsel-M-x. Since it's an interactive command, I'm assuming counsel-M-x somehow filters it from its result. But a quick search of the function name ...
TerryTsao's user avatar
  • 1,236
2 votes
1 answer
603 views

Selecting a directory like counsel-find-file

I would like to write a function that would prompt the user to select a directory, using an UI like that presented by counsel-find-file. The starting directory should be an arbitrary directory passed ...
izkon's user avatar
  • 1,908
0 votes
1 answer
284 views

using ivy completion on a hydra

I'd like to use ivy completion to select items from my hydra rather than using the specified keymap. The use case would be for a very large hydra. I could create nested hydras, but I want to be lazy ...
Fred Hansen's user avatar
1 vote
3 answers
2k views

Projectile switch between opened projects

I often have to work with multiple related projects and switching between them can become hard. I use counsel-projectile and it really makes everything easier. To be clear, I am not talking about ...
sigan's user avatar
  • 11
4 votes
1 answer
467 views

Don't show "." and ".." in counsel-find-file

I have a thing where I just don't like editing directories in emacs, and I never want to enter dired mode. Any time anything might want to put me into dired mode, I would prefer it not do that and ...
MadScientist's user avatar