(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-alphapapa@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

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

    • g06lin@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months 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`)

        • g06lin@alien.topOPB
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 months 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.