This repository has been archived on 2019-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
dired-phundrak/README.org
Phuntsok Drak-pa 28b6443817 Updated README
2019-09-29 18:07:50 +02:00

48 lines
2.0 KiB
Org Mode
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#+TITLE: Dired-Phundrak layer
#+author: Lucien “Phundrak” Cartier-Tilet
#+TAGS: layer|dired|configuration|phundrak
[[img/dired-phundrak.png]]
* Table of Contents :TOC_4_gh:noexport:
- [[#description][Description]]
- [[#features][Features:]]
- [[#install][Install]]
- [[#key-bindings][Key bindings]]
* 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 |