Skip to content

using dired-narrow changes the keybindings of "s" to dired-narrow-regexp #181

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

Open
fab6 opened this issue Mar 23, 2021 · 0 comments
Open

Comments

@fab6
Copy link

fab6 commented Mar 23, 2021

Hi,

I am running spacemacs-dev with emacs-git (but experienced similar behavior with emacs 27).

In my setup I use N for dired-narrow and set actually sorting to s

      (kbd "s") nil
      (kbd "ss") '(lambda () "sort by Size" (interactive) (dired-sort-other (concat dired-listing-switches " -S")))
      (kbd "sx") '(lambda () "sort by extension" (interactive) (dired-sort-other (concat dired-listing-switches " -X")))
      (kbd "sd") '(lambda () "sort by time" (interactive) (dired-sort-other (concat dired-listing-switches " -t")))
      (kbd "sn") '(lambda () "sort by name" (interactive) (dired-sort-other (concat dired-listing-switches)))

This works quite nice until I run the first time dired-narrow. Afterwards the keybinding for s is set to dired-narrow-regexp automatically.

How can I avoid this behavior? Do you have an advice? Thank you in advance!

@Fuco1 Fuco1 added this to Triage Mar 18, 2024
@github-project-automation github-project-automation bot moved this to To triage in Triage Mar 18, 2024
@Fuco1 Fuco1 moved this from To triage to Backlog in Triage Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants