Skip to content

FIX: Ivy-mode not loading automaticly! #87

@co-key

Description

@co-key

Hi Daviwil,

First thank you for the great vid's and contributions. I'm new to emacs and this will explain al lot and help me starting.

I heard you complaining about the ivy-mode not loading automaticly, as it should. I had a look in it and found the problem.

In your init.el file you set the use-package ivy... within the same parentesies you find the '(ivy-mode 1)' call. If you'll take these out off the parentesies and put hem below it does work.

So the code should changed to:

(use-package ivy
  :diminish
  :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) ** Wrong placement **
  )

(ivy-mode 1) ;; ** Right placement, it's loading now at startup. **

I'm not much further in you're vid's but I see you have this issue at more places in you're file. This might help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions