Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Merge branch 'chu4ng-console-pos-flag' | toonn | 2021-01-22 | 3 | -13/+28 | |
|\ \ \ | ||||||
| * | | | doc: New -s flag for console | toonn | 2021-01-22 | 2 | -10/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Document the new console flag. `-s` allows specifying a sentinel string. This sentinel is removed from the body of the command and the cursor is set to its position when opening the console. Sentinel replacement happens after macro expansion and there's no characters which cannot occur in a path. It is therefore impossible to use a sentinel which is 100% "macro safe." Example, running `console -s <cursor> shell <cursor> %s` will open the console with the contents `:shell | %s`, where `|` symbolizes the cursor. | |||||
| * | | | console: -s remove only first sentinel occurrence | toonn | 2021-01-22 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Small doc fix for more lucidity | chu4ng | 2021-01-22 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Set argument from '-s' flag as key character. | chu4ng | 2021-01-22 | 1 | -6/+8 | |
| | | | | ||||||
| * | | | Added -s flag for set position by char seq '^&'. | chu4ng | 2021-01-22 | 1 | -3/+12 | |
|/ / / | ||||||
* | | | Merge branch 'jmorsecode-commands_sample_fix' | toonn | 2021-01-21 | 1 | -1/+1 | |
|\ \ \ | ||||||
| * | | | Fix comment typo in commands_sample.py | jmorsecode | 2021-01-20 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Merge branch 'ericricky-word-char-transposition' | toonn | 2021-01-16 | 2 | -0/+74 | |
|\ \ \ | ||||||
| * | | | transpose_subr/words: Format in accordance to PEP8 | toonn | 2021-01-16 | 1 | -2/+1 | |
| | | | | ||||||
| * | | | transpose_subr: Appease the almighty pylint | toonn | 2021-01-16 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | transpose_words: Fix transposing last two words | toonn | 2021-01-16 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Transpose last two words even if on the first letter of last word. This behavior is consistent with readline and emacs. The previous code move one word back if it was anywhere in the last word but that meant the third and second to last words were transposed if the cursor was on the first character of the last word. | |||||
| * | | | transpose_chars: Add explicit check for start of line | toonn | 2021-01-16 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | | | | | | There's no sensible action at the start of the line but we don't want to issue the warning about invalid regions either. | |||||
| * | | | transpose_subr: Refactor to swap both regions in one concatenation | toonn | 2021-01-16 | 1 | -10/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | The calculations for cutting out and repositioning the second now shifted region was complicated. Simply cutting the two regions out of the string and swapping them is conceptually simpler. | |||||
| * | | | transpose_subr: Remove check for equal regions | toonn | 2021-01-16 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | | | | | | | There's no point transposing equal regions, the result would be the same. | |||||
| * | | | transpose_subr: Check lower bound | toonn | 2021-01-16 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | Allowing negative regions makes it harder to verify there's no overlap between regions. | |||||
| * | | | Add word/character transposition at the console | 44274505+ericricky@users.noreply.github.com | 2021-01-16 | 2 | -0/+77 | |
|/ / / | | | | | | | | | | Inspired by emacs/readline. | |||||
* | | | Merge branch 'shellcheck' | toonn | 2021-01-05 | 1 | -2/+2 | |
|\ \ \ | ||||||
| * | | | Fix shellcheck version comment | toonn | 2021-01-05 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Fix shellcheck download url | toonn | 2021-01-05 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Merge branch 'fix-files-none' | toonn | 2021-01-05 | 1 | -9/+12 | |
|\ \ \ | ||||||
| * | | | Refactor error checking for _pointed_obj | toonn | 2021-01-05 | 1 | -11/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #2086 Fixes #2125 Fixes #2136 Fixes #2173 Fixes #2205 Fixes #2209 | |||||
| * | | | Merge branch 'chu4ng-fix-files-index' into fix-files-none | toonn | 2021-01-05 | 19 | -85/+240 | |
| |\ \ \ | ||||||
| | * | | | Fix IndexError(list index out of range); | chu4ng | 2020-12-05 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | Fix #2173. | |||||
| | * | | | Merge remote-tracking branch 'toonn/fix-files-none' into fix-files-index | chu4ng | 2020-12-05 | 1 | -1/+4 | |
| | |\ \ \ | | |/ / / | |/| | | | ||||||
| * | | | | If files is None we can't set the _pointed_obj | toonn | 2020-08-12 | 1 | -1/+4 | |
| | |/ / | |/| | | | | | | | | | | Fixes #2071 | |||||
* | | | | Merge branch 'XuehaiPan-scope' | toonn | 2021-01-05 | 1 | -1/+2 | |
|\ \ \ \ | ||||||
| * | | | | Fix python versions compatibility in scope.sh | XuehaiPan | 2021-01-05 | 1 | -1/+2 | |
|/ / / / | ||||||
* | | | | Merge branch 'tags-errors' | toonn | 2020-12-31 | 1 | -9/+20 | |
|\ \ \ \ | ||||||
| * | | | | Import FileManagerAware | toonn | 2020-12-31 | 1 | -1/+2 | |
| | | | | | ||||||
| * | | | | Only write tags if they might've changed | toonn | 2020-12-31 | 1 | -0/+6 | |
| | | | | | ||||||
| * | | | | Report errors if tag file does not exist | toonn | 2020-12-31 | 1 | -8/+12 | |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A non-existent tag file leads to an opaque crash without indication to the user of what went wrong as in #2200. These errors are now reported through ranger's notify mechanism. The tag file is no longer created conditionally on `__init__`, only upon saving tags. This changes the behavior somewhat in that an empty "tagged" file should never be created. | |||||
* | | | | Merge branch 'shellcheck' | toonn | 2020-12-31 | 1 | -1/+2 | |
|\ \ \ \ | ||||||
| * | | | | Change sed invocation for POSIX compliance | toonn | 2020-12-31 | 1 | -1/+2 | |
|/ / / / | | | | | | | | | | | | | | | | | `\s` is a GNU-ism not found in BSD sed. Both implementations support the equivalent `[:blank:]` character class. | |||||
* | | | | Merge branch 'prosoitos-ipynb' | toonn | 2020-12-15 | 1 | -1/+1 | |
|\ \ \ \ | |_|/ / |/| | | | ||||||
| * | | | scope.sh: add ipynb ext to json | Marie-Helene Burle | 2020-12-14 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Merge branch 'chmod-default' | toonn | 2020-11-24 | 1 | -2/+2 | |
|\ \ \ | ||||||
| * | | | Change chmod maps | toonn | 2020-11-24 | 1 | -2/+2 | |
|/ / / | | | | | | | | | | | | | | | | | | | | | | The maps without explicit target only changed user permissions. The chmod utility changes all permissions when the target's omitted. This brings both more in line. Fixes #2161 | |||||
* | | | Remove redundant blank line in docs | toonn | 2020-11-18 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | When documenting the draw_borders_multipane setting an extra blank line was added. | |||||
* | | | Merge branch 'zyklotomic-master' | toonn | 2020-11-18 | 4 | -3/+126 | |
|\ \ \ | ||||||
| * | | | Document draw_borders_multipane | toonn | 2020-11-18 | 2 | -2/+22 | |
| | | | | ||||||
| * | | | Use identity rather than equality comparison for None | toonn | 2020-11-18 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Explicit truthy logic for draw_borders_multipane | Ethan Kiang | 2020-11-18 | 2 | -2/+8 | |
| | | | | ||||||
| * | | | Update ALLOWED_VALUES in settings.py for draw_borders_multipane | Ethan Kiang | 2020-11-18 | 1 | -1/+3 | |
| | | | | ||||||
| * | | | Use "draw_borders_multipane" instead and "draw_borders" as fallback | Ethan Kiang | 2020-11-18 | 2 | -6/+10 | |
| | | | | ||||||
| * | | | Fixed borders not redrawing upon setting change, renamed floating -> active-pane | Ethan Kiang | 2020-11-18 | 1 | -2/+11 | |
| | | | | ||||||
| * | | | pylint fixes | Ethan Kiang | 2020-11-18 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | created floating style borders for multipane | Ethan Kiang | 2020-11-18 | 2 | -31/+42 | |
| | | | | ||||||
| * | | | Fixed borders drawing over the 1st and last directory | Ethan Kiang | 2020-11-18 | 1 | -1/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | pylint flake8 errors fixed | |||||
| * | | | Added draw_borders setting support for view_multipane | Ethan Kiang | 2020-11-18 | 1 | -0/+53 | |
|/ / / |