Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ‘require dired’ usage #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matthewbauer
Copy link

Gist is causing a slow down in my configuration. It looks like it is from requiring dired. Hopefully this is an okay solution?

Instead to get the ‘@’ key in dired-mode to work,
you must now enable the new ‘gist-dired-mode’. To use just do add a hook
in dired-mode like this:

(add-hook 'dired-mode-hook 'gist-dired-mode)

This is possible to setup through use-package:

(use-package gist
  :ensure nil
  :commands gist-mode
  :hook (dired-mode . gist-dired-mode))

This slows down loading gist.el. Instead to get the ‘@’ key to work,
you must enable the new ‘gist-dired-mode’. To use just do add a hook
in dired-mode like this:

(add-hook 'dired-mode-hook 'gist-dired-mode)

This is possible to setup through use-package:

(use-package gist
  :ensure nil
  :commands gist-mode
  :hook (dired-mode . gist-dired-mode))
Repository owner deleted a comment from FITOLOPEUNSOIX Jun 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant