You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
Phuntsok Drak-pa 34d4a4d202
Merge branch 'master' of labs.phundrak.fr:phundrak/dired-phundrak into HEAD
3 years ago
LICENSE Add LICENSE 3 years ago
README.org Updated README 3 years ago
funcs.el initial commit 3 years ago
packages.el Added dired-hide-details-mode and dired-git-info shortcuts, better configuration 3 years ago

README.org

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

Dired-Phundrak layer

/phundrak/dired-phundrak/src/branch/master/img/dired-phundrak.png

Description

This layer adds my custom configuration of Dired on top of the default dired configuration for Spacemacs.

Features:

Sane functions for Dired from Ergomacs website, and one of my own, mapped to sane keybindings in dired-mode:

  • Open several files at once from Dired in Emacs
  • Open several files at once from Dired in external software (useful when using EXWM)
  • Sort files in Dired by name, date, size or extension
  • Rename files, replacing whitespace in the filename by:

    • underscores _
    • or hyphens -

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add dired-phundrak to the existing dotspacemacs-configuration-layers list in this file.

Key bindings

The following keybindings are only available from a dired buffer:

Key Binding Description
f Open all marked files in Emacs
F Open all marked files in external application
s Sort files in Dired buffer
- Replace whitespace in filename of marked files by hyphens
_ Replace whitespace in filename of marked files by underscores

The following keybinding is available globally in Emacs:

Key Binding Description
S-F1 Open a dired buffer in your home ~ directory