| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The MIME type handler is preferable because it can match files that have
the "wrong" extension or a ".backup" suffix for example.
Fixes #1633
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
By default, pandoc produces a document fragment.
Adding the --standalone flag allows to get the title of the document.
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
We were doubling up bold and BRIGHT for the name of the selected file in
the titlebar.
Fixes #1800
|
|\ \ |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add an entry about `filter_stack` to the man page, documenting the various
subcommands and available filters. Add documentation about the new
mappings.
Add functionality to the `rotate` subcommand so you can pass the
argument as a `quantifier`, i.e., a numeric prefix. Change the `.r`
mapping to rely on this behavior accordingly, reducing the amount of
unnecessary return pressing.
|
| | |
| | |
| | |
| | |
| | | |
Extracted helper function to `group_by_hash` for both duplicate and
unique filters.
|
| | | |
|
| | |
| | |
| | |
| | | |
`hash_chunks` now returns a hash even for 0 byte files.
|
| | |
| | |
| | |
| | |
| | |
| | | |
The `hash` filter for `filter_stack` requires a path as argument,
defaulting to the currently selected file. It filters out any files or
directories with a different hash.
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Added more supported formats.
Moved the section to `handle_image` because it generates image previews.
Extracted the common functionality into a function.
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| | |
Add `.dff` extension to `mime.types`.
Add `dff|wv|wvc` to `handle_extension` because they're not caught by the
`audio/*)` clause in `handle_mime`.
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Vim (and presumably other editors) can't render the mixed utf-8 with
utf-16 surrogates text properly.
|
| | |
| | |
| | |
| | |
| | | |
Several locations were left that didn't handle surrogate pairs. File
reading was also switched to using context handlers.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Surrogates aren't allowed in the UTF-8 encoding but filenames can
contain any bytes. We need to pass the surrogates literally because
otherwise `mv` won't be renaming the right files.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
basepath being any false-like value (None and '' in this case) should
warrant skipping a mkdir call creation, not just None.
The (broken) mkdir calls were created even for trivial renames inside
a single directory.
Improves upon #1342.
|
|\ \ \ |
|
| |\ \ \ |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes #1304
|
| |\ \ \ \
| | | | | |
| | | | | | |
Fix fuzzy tab completion when prefix is valid dir
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fuzzy tab completion was dropping the entire valid prefix instead of
showing the path relative to the current directory.
```
/ $ cd usr/sh<tab>
/ $ cd share/ # `usr/` is dropped because it's already a valid
# directory.
/ $ cd usr/share/ # Proper result with the fix.
```
Fixes #1792
|
| |\ \ \ \ \
| | |/ / / /
| |/| | | | |
Add Direct Stream Digital/Transfer to mime types
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Direct Stream Digital/Transfer (`.dsf`) files have MIME type
`application/octet-stream` but they're audio so `audio/something` is
more useful for rifle.
Scope also runs `mediainfo` and `exiftool` for miscellaneous `audio/*`
files but we can't match on MIME type here so I added a similar clause
in `handle_extension`.
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
I forgot to remove the setting from `rc.conf` when I merged the behavior
into the `update_title` setting.
|
| |\ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Upon further consideration we've reconsidered and decided to merge the
seperate title update settings.
|
| | |\ \ \ \
| | | | |_|/
| | | |/| | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Escape character is also represented with octal notation to be
consistent with prior usage
|