Comments (2)
Hi,
the problem here is that use-package
defers loading ivy
, and the therefore executing :config
, until ivy
is actually required. Doing a C-s C-f
directly after starting Emacs won't show you the ivy
-enhanced minibuffer, as ivy-mode 1
hasn't run yet. You could C-s
to trigger the keybinding for swiper
to enable ivy-mode
, or you could add a :demand
to the use-package
form like this
(use-package ivy
:diminish
:demand
:bind (("C-s" . swiper)
:map ivy-minibuffer-map
("TAB" . ivy-alt-done)
("C-l" . ivy-alt-done)
("C-j" . ivy-next-line)
("C-k" . ivy-previous-line)
:map ivy-switch-buffer-map
("C-k" . ivy-previous-line)
("C-l" . ivy-done)
("C-d" . ivy-switch-buffer-kill)
:map ivy-reverse-i-search-map
("C-k" . ivy-previous-line)
("C-d" . ivy-reverse-i-search-kill))
:config (ivy-mode 1))
@daviwil might know better which option to choose here. I am also still a beginner and following along :).
from emacs-from-scratch.
Hi @dsbahr, sorry for the trouble! @jtepe is correct, adding :demand
to the use-package
expression will cause Ivy to be loaded and started when Emacs starts up.
from emacs-from-scratch.
Related Issues (20)
- Extension of orgroam videos: Assembling a document out of Zettels
- Auto-tangle Configuration not working for Emacs.org symlink
- error "Invalid face" org-level-1 even with (with-eval-after-load 'org-faces ... ) HOT 1
- Dired folders and symbolic links looking weird if i'm using daemon
- Ivy mode HOT 1
- Keyboard wrong language HOT 2
- Broken link for the notes of Hey "Emacs, Donβt Move My Windows!" HOT 2
- Windows 11 key binding (ctrl -> caps lock) HOT 1
- Problems with Dired configuration on macOS
- python-mode: ensure t or nil?
- Extra parenthesis problem in a code snippet on how to Automate Package Updates
- Broken links on material about `eshell`
- FIX: Ivy-mode not loading automaticly! HOT 3
- Incredibly Tiny text only for org files in counsel switch buffer and the kill buffer HOT 1
- Problem with init.el file on Ubuntu 14.04 legacy with emacs 27.2 HOT 1
- counsel-M-x doesn't show description HOT 1
- Autothemer updated with some QOL additions.
- Eshell links broken
- Polybar config cpu module `click-left` emacsclient invocation doesn't work HOT 1
- Start fail with bind-key NOT found message.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs-from-scratch.