| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
| | |
| | |
| | |
| | |
| | |
| | | |
One un-double-quoted variable substitution. Directly use the commands
escape code rather than relying on "$?", this also drops the need to
rely on `>` which is for string comparison specifically.
|
| | |
| | |
| | |
| | |
| | |
| | | |
- Make font-name bigger than the body
- Vertically center the body so that the newline at the bottom doesn’t
stand out as much
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|