The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [ivy]

Ivy is a generic completion mechanism for Emacs.

Filter by
Sorted by
Tagged with
1
vote
0answers
267 views

A Tramp file is stuck in my buffer cache

I'm using Emacs 25.3.1 with Spacemacs 0.200.9. I have Ivy installed. At some point in the past, I opened a Tramp session to a local machine over SSH. Now, when I'm not on that network and I try to ...
0
votes
1answer
441 views

Making counsel-find-file not open dired on ./

I sometimes "accidentally" hit TAB again when I've already completed myself into a subdirectory. This means the current dir ./ is highlighted and ivy opens it with dired. This is basically never ever ...
1
vote
2answers
90 views

Transform w3m buffer names in ivy-switch-buffer

emacs-w3m really likes to have its buffers have names like *w3m*<16> or *w3m* so when switching buffers, it's impossible to tell just from the names which buffer is displaying which web page. I'...
4
votes
2answers
312 views

Display search results in their own buffer

I've use helm and ivy with swiper the search is great but I like to be able to keep search results in a buffer, navigate and edit my code and switch back to my search results buffer.
1
vote
1answer
215 views

Using default results with ivy and `read-file-name`

I have recently started using ivy, and I've been very happy with it. The only behaviour which I've found quite surprising, is the combination of completions and read-file-name. As an example, if I ...
1
vote
1answer
93 views

HTML-mode insert tag without attribute(s) [duplicate]

In HTML-mode C-c C-o is bound to sgml-tag which inserts a tag of choice and one or more attributes. My question is this: How can I insert a tag with sgml-tag and skip insertion of an attribute. For ...
2
votes
1answer
160 views

How to highlight search tool matches in minibuffer?

These search tools list results in the minibuffer, but the matches are not highlighting: SPC s a f (ag) SPC s g f (grep) SPC s k f (ack) SPC s t f (pt) Help describe does highlight matches. Would ...
4
votes
1answer
162 views

sql-connect with Ivy

I've switched from helm to Ivy and mostly everything works, but today I noticed that connecting to databases with sql-connect doesn't work anymore. I have the following in the variable sql-connection-...
4
votes
1answer
813 views

How to switch between Ivy completion styles?

There are three Ivy completion styles: ivy--regex-plus ivy--regex-ignore-order ivy--regex-fuzzy C-o (hydra-ivy/body) m toggles between ivy "ivy--regex-plus" and "ivy--regex-fuzzy". How to switch to ...
6
votes
0answers
196 views

ivy preview buffer without buffer creation

When searching in a project using a counsel-ag, I want to implement a preview, similar to the counsel-grep. Now I use copy-paste from counsel-ag with :update-fn (lambda () (counsel-grep-...
2
votes
3answers
2k views

How to find file name a few levels down in directory?

I am new to emacs (using Spacemacs with Evil and Ivy). This is how I open a file: SPC f f (counsel-find-file) Find file: I entered path of file. Ivy matches words one directory at a time. But ...
2
votes
1answer
250 views

default of “calling” when run counsel-git-grep

counsel-git-grep is nice to search git repository, but by default it can't show the candidate lively. Meaning if I use down arrow to select the next candidate, the buffer doesn't change, and one ...
3
votes
1answer
327 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 ...
8
votes
4answers
2k views

Ivy disable completion for a command in minibuffer

Can I disable ivy completion for a single command while in minibuffer? For example I am in folder ~/code/study/ . If I open find file and autocomplete with Ivy I will see Find file: ~/code/study/ ./...
4
votes
2answers
1k views

What's the equivalent of `helm-find` in ivy/counsel? I want to find files **recursively**

helm-find is Preconfigured ‘helm’ for the find shell command I need the same functionality with ivy/counsel.
1
vote
1answer
201 views

What is causing background colors to blend?

I'm using ivy which defines two faces that can highlight matches, ivy-current-match and ivy-highlight-face. It's possible that both can be applied to one match. I've noticed that in some cases the ...
4
votes
2answers
779 views

Edit org-mode tags using ido or ivy completion

I'd like to try a different method of specifying tags than the built-in single character codes. How can I tag headings using ido or ivy completion? I think I would like at least two commands: ...
6
votes
2answers
213 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?
3
votes
1answer
290 views

distinguish ido/ivy's virtual-buffers with equal names using directory?

I really like the ido-use-virtual-buffers/ivy-use-virtual-buffers features, but unfortunately if you have five files named style.css in different projects, it is less useful. With already-opened ...
7
votes
1answer
2k views

Code auto completion with ivy

In a big C++ project I use dabberv-expand (aka M-/). Rtags, ctags, csope etc do not work by different reasons. Unfortunately I do not know how to enforce dabbrev to use a fuzzy search. So I decided to ...
2
votes
1answer
937 views

How to ignore certain filename patterns in `find-file`/`counsel-find-file`?

When using stock find-file or counsel-find-file, is there a way to ignore certain files that I almost never want to open by hand? Examples include .elc files and backups.
4
votes
2answers
398 views

After enabling ivy-mode, `dired-create-directory' does not allow me to choose an entry not in the completion list [duplicate]

Is there any way to allow me to type in a new dir name that is not in the completion list generated by ivy-mode?
3
votes
1answer
213 views

Compatibility with the function (ivy-switch-buffer) of ivy-mode and bm (a bookmark package)

The package ivy-mode has the function ivy-switch-buffer, which use the build in variable bookmark-alist to incorporate bookmarks to its options. I use the package bm to store my bookmarks, which use ...
0
votes
0answers
109 views

Restrict available command options in AuCTeX

I'm using AuCTeX (v.11.89.6 with Emacs 25.1). I have no problems with it, just a small nuisance. Whenever I use TeX-insert-macro (C-c C-m) I get many options I never use. For instance, when I wish to ...
15
votes
2answers
1k views

How can I setup eshell to use ivy for tab completion?

I'm very fond of ivy for completion and love that a simple (ivy-mode 1) is enough to get ivy almost everywhere that Emacs uses some sort of completion (that is acomplished by overriding completeing-...
2
votes
1answer
412 views

Change face for ivy-custom-match

From the Ivy manual: Customizability is about being able to use different methods and interfaces of completion to tailor the selection process. For example, adding a custom display function that ...
2
votes
1answer
426 views

How to create a new buffer with ivy-switch-buffer that shares a substring with an existing buffer?

Suppose I have a file opened called "analysis-evaluation.tex" and I'd like to create a new buffer called "eval". When using Ido, I would press C-j to create a new buffer rather than switching to an ...
2
votes
1answer
516 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.
2
votes
1answer
409 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 ...