Skip to content

Comments

Adds more mark commands for directory-mode.#1298

Merged
cxxxr merged 1 commit intolem-project:mainfrom
mychris:patch/directory-mode-mark-commands
Feb 17, 2024
Merged

Adds more mark commands for directory-mode.#1298
cxxxr merged 1 commit intolem-project:mainfrom
mychris:patch/directory-mode-mark-commands

Conversation

@mychris
Copy link
Contributor

@mychris mychris commented Feb 16, 2024

The following new commands have been added:

DIRECTORY-MODE-MARK-DIRECTORIES

Mark all directories in the current buffer except '..'.
With prefix argument ARG, unmark all those directories.

DIRECTORY-MODE-MARK-LINKS

Mark all symbolic links in the current buffer.
With prefix argument ARG, unmark all those links.

DIRECTORY-MODE-MARK-SUFFIX

Mark all files with the given SUFFIX.
The provided SUFFIX is a string, and not a file extenion, meaning every file with
a name ending in SUFFIX will be marked.
With prefix argument ARG, unmark all those files.

DIRECTORY-MODE-MARK-EXTENSION

Mark all files with the given EXTENSION.
A '.' is prepended to the EXTENSION if not present.
With prefix argument ARG, unmark all those files.

DIRECTORY-MODE-NEXT-MARK

Move to the next Nth marked entry.

DIRECTORY-MODE-PREVIOUS-MARK

Move to the previous Nth marked entry.

The DIRECTORY-MODE-MARK-REGEXP command has an additional prefix argument to behave like the other commands.

- DIRECTORY-MODE-MARK-DIRECTORIES
- DIRECTORY-MODE-MARK-LINKS
- DIRECTORY-MODE-MARK-SUFFIX
- DIRECTORY-MODE-MARK-EXTENSION
- DIRECTORY-MODE-NEXT-MARK
- DIRECTORY-MODE-PREVIOUS-MARK

Adds an additional prefix argument to DIRECTORY-MODE-MARK-REGEXP.
@cxxxr cxxxr merged commit 713823e into lem-project:main Feb 17, 2024
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.

2 participants