(use-package elfeed)

(leader-key "w" elfeed)

Is it possible to combine the two in a simple way? I tried using :general keyword in use-package ensuring that it loads after general, but it still does not work…

  • github-alphapapaB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    You’ve asked for help with code but haven’t shown the code that you tried.

  • github-alphapapaB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Why did you add :after general? I use :general in many of my use-package forms, but never have I added that.

    • g06linOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      hmmm… without it I assumed I would get an error about unrecognized keyword. In any case, I tried this configuration again and I am getting the same error.

      ```Error (use-package): Failed to parse package elfeed: use-package: Unrecognized keyword: :general```

      (Regardless of whether I use `:after general`)

        • g06linOPB
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Ah… made a mistake! It does not work.

          :config only fires after the package is loaded, but this key binding in :config is the one loading the package. Bad! For now, moved these bindings to :config of general.

          It would be nice if I can figure out why :general does not work with use-package.