doomemacs / doomemacs/core

Changing `ivy-initial-inputs-alist` has no effect on startup

Open
#6,182 5 comments 0 reactions 0 assignees View on GitHub
is:bug needs-triage
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### What did you expect to happen?

Changing `ivy-initial-inputs-alist` should change the initial character on the input.

### What actually happened?

Changing works when evaluating manually, but not on startup.

### Describe your attempts to resolve the issue

Try setting the variable in many ways, in and outside of `use-package!`, also tried using `after!` and `setq-default`.

Here's one of the attempts:

``` emacs-lisp
(after! (ivy counsel)
(setq ivy-initial-inputs-alist
'((org-refile . "^")
(org-agenda-refile . "^")
(org-capture-refile . "^")
(Man-completion-table . "^")
(counsel-M-x . "^")
(woman . "^"))))
```

### Steps to reproduce

Change `ivy-initial-inputs-alist` and see if the change is loaded on startup.

### System Information

https://pastebin.com/NjFtxjwm

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.