Rename order action to sort.
- So that turn action can be renamed to orient.
This commit is contained in:
parent
81a1901d38
commit
15cbe17b5c
2 changed files with 6 additions and 6 deletions
|
|
@ -72,7 +72,7 @@ KEYS_DOC = """Keys:
|
|||
*e - Edit the current file with an editor defined by -e, $EDITOR or $VISUAL.
|
||||
*n - Move to the next issue.
|
||||
*N - Move to the next issue of the current tool.
|
||||
*o - Order files by type, or by directory location. (toggle)
|
||||
*s - Sort files by type, or by directory location. (toggle)
|
||||
*r - Refresh the currently selected report.
|
||||
*R - Refresh all reports of the current tool.
|
||||
*f - Resize the focused pane to the full screen. (toggle)
|
||||
|
|
@ -814,7 +814,7 @@ class Screen:
|
|||
self._summary.is_directory_sort = not self._summary.is_directory_sort
|
||||
sort_order = ("directory then type" if self._summary.is_directory_sort
|
||||
else "type then directory")
|
||||
self._log.log_command(f"Ordering files by {sort_order}.")
|
||||
self._log.log_command(f"Sorting files by {sort_order}.")
|
||||
with self._summary.keep_selection():
|
||||
self._summary.sort_entries()
|
||||
|
||||
|
|
@ -949,7 +949,7 @@ class Screen:
|
|||
"line " + str(y+1))
|
||||
|
||||
_STATUS_BAR = highlight_chars(
|
||||
" *help *quit *t*a*b:focus *turn *log *edit *next *order"
|
||||
" *help *quit *t*a*b:focus *turn *log *edit *next *sort"
|
||||
" *refresh *fullscreen *xdg-open", Log._GREEN_STYLE)
|
||||
|
||||
@functools.lru_cache()
|
||||
|
|
@ -1004,7 +1004,7 @@ class Screen:
|
|||
({"h"}, toggle_help), ({"up"}, cursor_up),
|
||||
({"down"}, cursor_down), ({"left"}, cursor_left),
|
||||
({"right"}, cursor_right), ({"page down", "ctrl v"}, cursor_page_down),
|
||||
({"page up", "meta v"}, cursor_page_up), ({"o"}, toggle_order),
|
||||
({"page up", "meta v"}, cursor_page_up), ({"s"}, toggle_order),
|
||||
({"home", "ctrl a"}, cursor_home),
|
||||
({"end", "ctrl e"}, cursor_end), ({"n"}, move_to_next_issue),
|
||||
({"N"}, move_to_next_issue_of_tool), ({"e"}, edit_file),
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
│ [m[38;2;0;255;0m[48;2;0;0;0me[m[38;2;255;255;255m[48;2;0;0;0m - Edit the current file with an editor defined by -e, $EDITOR or $VISUAL. │
|
||||
│ [m[38;2;0;255;0m[48;2;0;0;0mn[m[38;2;255;255;255m[48;2;0;0;0m - Move to the next issue. │
|
||||
│ [m[38;2;0;255;0m[48;2;0;0;0mN[m[38;2;255;255;255m[48;2;0;0;0m - Move to the next issue of the current tool. │
|
||||
│ [m[38;2;0;255;0m[48;2;0;0;0mo[m[38;2;255;255;255m[48;2;0;0;0m - Order files by type, or by directory location. (toggle) │
|
||||
│ [m[38;2;0;255;0m[48;2;0;0;0ms[m[38;2;255;255;255m[48;2;0;0;0m - Sort files by type, or by directory location. (toggle) │
|
||||
│ [m[38;2;0;255;0m[48;2;0;0;0mr[m[38;2;255;255;255m[48;2;0;0;0m - Refresh the currently selected report. │
|
||||
│ [m[38;2;0;255;0m[48;2;0;0;0mR[m[38;2;255;255;255m[48;2;0;0;0m - Refresh all reports of the current tool. │
|
||||
│ [m[38;2;0;255;0m[48;2;0;0;0mf[m[38;2;255;255;255m[48;2;0;0;0m - Resize the focused pane to the full screen. (toggle) │
|
||||
|
|
@ -57,4 +57,4 @@
|
|||
│ │
|
||||
│ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
[m[38;2;255;255;255m[48;2;76;76;76m [m[38;2;76;255;76m[48;2;76;76;76mh[m[38;2;255;255;255m[48;2;76;76;76melp [m[38;2;76;255;76m[48;2;76;76;76mq[m[38;2;255;255;255m[48;2;76;76;76muit [m[38;2;76;255;76m[48;2;76;76;76mtab[m[38;2;255;255;255m[48;2;76;76;76m:focus [m[38;2;76;255;76m[48;2;76;76;76mt[m[38;2;255;255;255m[48;2;76;76;76murn [m[38;2;76;255;76m[48;2;76;76;76ml[m[38;2;255;255;255m[48;2;76;76;76mog [m[38;2;76;255;76m[48;2;76;76;76me[m[38;2;255;255;255m[48;2;76;76;76mdit [m[38;2;76;255;76m[48;2;76;76;76mn[m[38;2;255;255;255m[48;2;76;76;76mext [m[38;2;76;255;76m[48;2;76;76;76mo[m[38;2;255;255;255m[48;2;76;76;76mrder [m[38;2;76;255;76m[48;2;76;76;76mr[m[38;2;255;255;255m[48;2;76;76;76mefresh [m[38;2;76;255;76m[48;2;76;76;76mf[m[38;2;255;255;255m[48;2;76;76;76mullscreen [m[38;2;76;255;76m[48;2;76;76;76mx[m[38;2;255;255;255m[48;2;76;76;76mdg-open [m
|
||||
[m[38;2;255;255;255m[48;2;76;76;76m [m[38;2;76;255;76m[48;2;76;76;76mh[m[38;2;255;255;255m[48;2;76;76;76melp [m[38;2;76;255;76m[48;2;76;76;76mq[m[38;2;255;255;255m[48;2;76;76;76muit [m[38;2;76;255;76m[48;2;76;76;76mtab[m[38;2;255;255;255m[48;2;76;76;76m:focus [m[38;2;76;255;76m[48;2;76;76;76mt[m[38;2;255;255;255m[48;2;76;76;76murn [m[38;2;76;255;76m[48;2;76;76;76ml[m[38;2;255;255;255m[48;2;76;76;76mog [m[38;2;76;255;76m[48;2;76;76;76me[m[38;2;255;255;255m[48;2;76;76;76mdit [m[38;2;76;255;76m[48;2;76;76;76mn[m[38;2;255;255;255m[48;2;76;76;76mext [m[38;2;76;255;76m[48;2;76;76;76ms[m[38;2;255;255;255m[48;2;76;76;76mort [m[38;2;76;255;76m[48;2;76;76;76mr[m[38;2;255;255;255m[48;2;76;76;76mefresh [m[38;2;76;255;76m[48;2;76;76;76mf[m[38;2;255;255;255m[48;2;76;76;76mullscreen [m[38;2;76;255;76m[48;2;76;76;76mx[m[38;2;255;255;255m[48;2;76;76;76mdg-open [m
|
||||
Loading…
Add table
Add a link
Reference in a new issue