| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \ |
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | | |
Fixes #1483
|
| | | |
|
|/ /
| |
| |
| |
| | |
This add a reset_previews command, which helps when switching preview_script
on-the-fly.
|
|\|
| |
| |
| | |
Fixes #1473
|
| |
| |
| |
| |
| | |
pd opens up the console to allow pasting to a path.
p'<any> and p`<any> allow for pasting to a bookmark.
|
| | |
|
| | |
|
| |\
| |/
|/| |
|
|\ \
| | |
| | | |
Fixes #1296
|
|/ / |
|
| | |
|
|/ |
|
|
|
|
|
| |
Spotted a `2?` where I'd expected `?c`, figured maybe prefixing might
work but testing showed it doesn't.
|
| |
|
|\
| |
| | |
rename_append: Use `rename` if point is on a directory
|
| | |
|
|/
|
|
|
|
| |
When the directory at point has full-stops in it, rename_append would
put the point at the last period in the dir-name, as it would with a
file.
|
| |
|
|\
| |
| | |
add imv to rifle.conf
|
|/ |
|
| |
|
| |
|
|
|
|
|
| |
It's in the mime database so it's common enough for me.
I also fixed up the line widths because they overflowed 80 columns.
|
|\ |
|
| |
| |
| |
| |
| | |
Now it's trivial for the test module to mock the bookmark validation
without introducing too much logic about this mocking to the actual class.
|
| |
| |
| |
| |
| | |
The test bookmarks were intentionally bogus as we cannot reliably predict valid
paths on the test system, so validation doesn't make any sense there.
|
| |
| |
| |
| |
| | |
Non-existent bookmarks may be only temporarily
unreachable (eg. pendrive, NFS), no point in removing them.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously ranger was validating the bookmarks (whether they are existing
directories) when loading the bookmark file. It caused the remote
filesystems like autofs to wake up unnecessarily and in general caused
more problems than solved.
Fixes #1365.
|
|\ \
| | |
| | | |
Fix our doctests
|
| | |
| | |
| | |
| | | |
Related issue: #1457
|
|/ /
| |
| |
| |
| |
| | |
Related issue: #1457
See: https://stackoverflow.com/a/25691978
|
|\ \
| |/
|/| |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
fix Ctrl+Space crash
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When in input mode (e.g. search, :mkdir, :rename, etc.), pressing Ctrl+Space makes ranger crash
This will fix this issue
Crash example:
```
ranger version: ranger-master 1.9.2
Python version: 3.7.2 (default, Jan 10 2019, 23:51:51) [GCC 8.2.1 20181127]
Locale: el_GR.UTF-8
Current file: '/home/spiros/1. "aaa" \'aaa\''
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/ranger/gui/curses_shortcuts.py", line 36, in addstr
self.win.addstr(*args)
ValueError: embedded null character
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/ranger/core/main.py", line 195, in main
fm.loop()
File "/usr/lib/python3.7/site-packages/ranger/core/fm.py", line 394, in loop
ui.redraw()
File "/usr/lib/python3.7/site-packages/ranger/gui/ui.py", line 338, in redraw
self.draw()
File "/usr/lib/python3.7/site-packages/ranger/gui/ui.py", line 365, in draw
DisplayableContainer.draw(self)
File "/usr/lib/python3.7/site-packages/ranger/gui/displayable.py", line 256, in draw
displayable.draw()
File "/usr/lib/python3.7/site-packages/ranger/gui/widgets/console.py", line 111, in draw
self.addstr(0, len(self.prompt), str(line[x:]))
File "/usr/lib/python3.7/site-packages/ranger/gui/curses_shortcuts.py", line 44, in addstr
self.win.addstr(*_fix_surrogates(args))
ValueError: embedded null character
ranger crashed. Please report this traceback at:
https://github.com/ranger/ranger/issues
```
|
|\ \ \
| |/ /
|/| | |
Load plugin directories located in ~/.config/ranger/plugins
|
| | | |
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | | |
Since we’re now checking whether fontimage runs successfully rather
than if it throws an error, the conditions needs to be inverted.
|