summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Add missing documentation for syntax highlightingtoonn2019-05-172-11/+73
| | | | | `HIGHLIGHT_STYLE`, `HIGHLIGHT_OPTIONS` and `PYGMENTIZE_STYLE` affect ranger and should therefore be documented in the manual.
* Scope no longer interferes with users' configurationtoonn2019-05-151-5/+8
| | | | | | | | | | | | | Our setup for syntax highlighting in `scope.sh` was actively preventing people's configuration for `highlight` from working. Now `HIGHLIGHT_OPTIONS` takes precendence over the default and over the `HIGHLIGHT_STYLE` environment variable. Users can specify `HIGHLIGHT_STYLE` or `PYGMENTIZE_STYLE` enviroment variables now to customize the syntax coloring theme without having to edit *and keep up to date* `scope.sh`. Fixes #1556
* Merge branch 'chmod_000'toonn2019-05-051-2/+3
|\
| * Fix quantifier checktoonn2019-04-251-2/+3
| | | | | | | | | | `not self.quantifier` excluded `0`, which is a perfectly valid quantifier for `chmod`.
* | Merge branch 'joelostblom-human-linemodes'Wojciech Siewierski2019-04-276-4/+63
|\ \ | |/ |/|
| * Add a blank line between internal and external importsWojciech Siewierski2019-04-272-0/+2
| |
| * Merge branch 'human-linemodes' of https://github.com/joelostblom/ranger into ↵Wojciech Siewierski2019-04-276-4/+61
|/| | | | | | | joelostblom-human-linemodes
| * Document all the linemodestoonn2019-04-232-2/+14
| |
| * Move helper into ranger/exttoonn2019-04-234-24/+28
| | | | | | | | | | | | | | | | | | There's already a `human_readable` for size in `ranger/ext`, I figure we might as well add the new helper there, make it easily accessible in other code. Did some renaming, no need to drop the `readable` part to shorten the names. Similarly I changed one of the mappings to be more intuitive.
| * Increase function name accuracyjoelostblom2018-12-261-3/+3
| |
| * Break out common code into helper funcitonjoelostblom2018-12-251-18/+14
| |
| * Choose more recognizable numbersjoelostblom2018-12-251-4/+4
| |
| * Remove else after returnjoelostblom2018-12-251-7/+5
| |
| * Add hotkeys to switch to new linemode classesjoelostblom2018-12-181-0/+2
| |
| * Add new linemode classesjoelostblom2018-12-182-1/+46
| |
* | Merge pull request #1504 from toonn/readme-copyconfigWojciech Siewierski2019-04-231-1/+2
|\ \ | | | | | | Point first --copy-config to explanation
| * \ Merge branch 'master' into readme-copyconfigWojciech Siewierski2019-04-237-41/+54
| |\ \ | |/ / |/| |
* | | Merge pull request #1541 from toonn/comics_are_docsWojciech Siewierski2019-04-221-4/+4
|\ \ \ | | | | | | | | Treat comics as documents
| * | | Treat comics as documentstoonn2019-04-211-4/+4
|/ / / | | | | | | | | | | | | Some comics are pdf files and therefore treated as documents, comic archives like cbz aren't. This brings the two in line.
* | | Merge branch 'tag_toggle_swap'toonn2019-04-141-4/+18
|\ \ \
| * | | Expand on Vifon's tag_toggle argument swaptoonn2019-04-141-4/+18
|/ / /
* | | Merge branch 'Vifon-remote_free_space'toonn2019-04-141-1/+1
|\ \ \
| * | | Calculate the free space on remote filesystems correctlyWojciech Siewierski2019-03-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The remote filesystems report their mount path as the mount root even if they contain other mount points on the remote side. Fixes #1505.
* | | | core.actions: Simplify the usage of :tag_toggleWojciech Siewierski2019-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now it's possible to call :tag_toggle with tag as the positional argument (:tag_toggle X), not only by name (:tag_toggle tag=X). All our usage of tag_toggle() is done with named arguments so there shouldn't be any internal breakage.
* | | | Revert "core.main: reactivate file opening with ranger directly"toonn2019-04-141-17/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hut misunderstood an issue people were having with ranger's "open focused on a file" feature and undeprecated the rifle-like functionality. The feature's still broken but I'm already redeprecating because people'll get upset if they start using ranger as rifle and it stops working again when I fix the feature in the near future. This reverts commit 67e4ea4e143ed3516e5fe02607bbaf8aedf3534d.
* | | | rebuild man pageshut2019-04-032-29/+23
| | | |
* | | | manpage: better documentation of "f" flaghut2019-04-031-1/+3
| | | |
* | | | core.main: reactivate file opening with ranger directlyhut2019-04-031-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The normal way to open files with ranger would be to use the tool "rifle" like "rifle <filename>". Ranger used to be able to open files directly, but that feature was removed in 924135e1934a01faef64e94d2425d23f9790b6cf. People have been trying to use ranger like that though, and why force rifle on them?
* | | | core.main: fixed error when starting in inaccessible pathhut2019-04-031-1/+2
| | | |
* | | | Revert "A E S T H E T I C"hut2019-04-032-48/+1
| | | | | | | | | | | | | | | | This reverts commit 0bffe922cee451cba6c457dbf641bbcd3a12b64a.
* | | | A E S T H E T I Chut2019-04-012-1/+48
| | | |
* | | | core.actions: avoid error message when pressing right in empty dirhut2019-03-311-0/+2
|/ / /
| * / Point first --copy-config to explanationtoonn2019-03-241-1/+2
|/ / | | | | | | Fixes #1502
* | Merge pull request #1498 from Ablesius/update_hackingToon Nolten2019-03-191-1/+1
|\ \ | | | | | | update HACKING.md with changed file name
| * | update HACKING.md with changed file nameAlexander Blesius2019-03-191-1/+1
|/ / | | | | | | browserview.py -> view_miller.py
* | Merge pull request #1490 from Vifon/open_all_images_dwimWojciech Siewierski2019-03-113-4/+25
|\ \ | | | | | | Temporarily disable open_all_images if there are too many images
| * | Phrasing changeWojciech Siewierski2019-03-102-2/+2
| | |
| * | Update the manpageWojciech Siewierski2019-03-102-2/+8
| | |
| * | Add a notification for the open_all_images autodisablingWojciech Siewierski2019-03-101-0/+1
| | |
| * | Temporarily disable open_all_images if there are too many imagesWojciech Siewierski2019-03-101-2/+16
|/ / | | | | | | | | | | | | | | | | In extreme cases, all the images may be too much to handle by the system ("Argument list too long", errno 7). In such cases, let's Do The Right Thing™ and temporarily disable the open_all_images setting. Without this option we'll only open the single image. Fixes #1488.
* | Merge branch 'rnhmjoj-invalid-mtimes'toonn2019-03-051-1/+5
|\ \
| * | Fix crash when entering directories with invalid mtimesrnhmjoj2019-03-041-1/+5
| | | | | | | | | | | | closes #1020
* | | Merge branch 'palikar-paste-dest'toonn2019-03-051-7/+7
|\ \ \ | |/ / |/| |
| * | Fix dest check for :pastetoonn2019-03-051-7/+7
| | | | | | | | | | | | | | | | | | | | | The new destination argument for `:paste` requires a guard on whether it is a valid target. A bug snuck in because of copious negation : ) This is now fixed, we only allow the target to be a directory or `None` which means the current tab's working directory.
* | | Revert "Merge branch 'slackhead-venv-gitignore'"toonn2019-03-031-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit f5639cd2c4b2f635ec98330da83edbe774a0849d, reversing changes made to aead73e9488be599e92418cea5d9523da459fde1. `.venv` is not a canonical name for python virtualenvs so there's no reason to assume it's common among developers. To avoid potential surprises because of the ignore we're reverting it. We recommend using `.git/info/exclude` instead to specify project-specific ignores that apply only to your setup.
* | | Merge branch 'slackhead-venv-gitignore'toonn2019-03-031-0/+1
|\ \ \
| * | | Add .venv to .gitignoredive2019-03-031-0/+1
| | | |
* | | | Merge branch 'slackhead-reset_previews'toonn2019-03-031-0/+11
|\ \ \ \ | |/ / / |/| | | | | | | Fixes #1483
| * | | Move reset_previews command to commands.pydive2019-03-032-8/+11
| | | |
| * | | Add a reset_previews commanddive2019-03-031-0/+8
|/ / / | | | | | | | | | | | | This add a reset_previews command, which helps when switching preview_script on-the-fly.