Skip to content

Instantly share code, notes, and snippets.

@kickingvegas
Created October 7, 2024 19:03
Show Gist options
  • Save kickingvegas/29d684f7e7d40764f24c7732bb888daa to your computer and use it in GitHub Desktop.
Save kickingvegas/29d684f7e7d40764f24c7732bb888daa to your computer and use it in GitHub Desktop.
Elisp Dired configuration to change single click to double to open a new file/directory
(add-hook
'dired-mode-hook
(lambda ()
(setq-local mouse-1-click-follows-link 'double)))
(keymap-set dired-mode-map "<mouse-2>" #'dired-mouse-find-file)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment