Ticket #2375 (closed enhancement: fixed)

Opened 14 years ago

Last modified 13 years ago

go up dir hot key

Reported by: x905 Owned by: angel_il
Priority: minor Milestone: 4.7.5
Component: mc-core Version: master
Keywords: Cc: gotar@…
Blocked By: Blocking:
Branch state: Votes for changeset: committed-master

Description

add hot key to go up dir in panels - "backspace" (if nothing typed in command line)

Change History

comment:1 Changed 14 years ago by angel_il

  • Priority changed from major to minor

comment:2 follow-up: ↓ 3 Changed 14 years ago by ossi

ctrl-pgup?

comment:3 in reply to: ↑ 2 Changed 14 years ago by x905

Replying to ossi:

ctrl-pgup?

yes works, but i cant find it in mc.keymap
ticket may be closed

comment:4 Changed 14 years ago by andrew_b

  • Status changed from new to closed
  • Version 4.7.4 deleted
  • Resolution set to invalid
  • Milestone 4.7 deleted

comment:5 Changed 13 years ago by gotar

  • Cc gotar@… added

PanelCtrlPrevPage = ctrl-pgup

comment:6 follow-up: ↓ 7 Changed 13 years ago by angel_il

  • Status changed from closed to reopened
  • Resolution invalid deleted

maybe need add action PanelSmartPrevPage?...

comment:7 in reply to: ↑ 6 ; follow-up: ↓ 8 Changed 13 years ago by gotar

Replying to angel_il:

maybe need add action PanelSmartPrevPage?...

There is already lynx-like motion which works depending on command line contents (only if empty). So basically this ticket==move hardcoded lynx-like motion left/right keys into configurable mc.keymap, e.g. defaults:

[panel]
PanelSmartPrevPage = left
PanelSmartNextPage = right

This involves renaming 'lynx-like motion' to sth like 'smart motion'.

Then, reporter could set PanelSmartPrevPage to backspace and unset PanelSmartNextPage to get what he wants via 'smart motion'.

comment:8 in reply to: ↑ 7 ; follow-up: ↓ 9 Changed 13 years ago by angel_il

Replying to gotar:

Replying to angel_il:

maybe need add action PanelSmartPrevPage?...

There is already lynx-like motion which works depending on command line contents (only if empty).

but PanelSmartPrevPage? do not delete prev char if the command line not empty.

comment:9 in reply to: ↑ 8 Changed 13 years ago by gotar

Replying to angel_il:

There is already lynx-like motion which works depending on command line contents (only if empty).

but PanelSmartPrevPage? do not delete prev char if the command line not empty.

So? If the command line is not empty this action is not called at all, instead regular keystroke is interpreted.

comment:10 follow-up: ↓ 11 Changed 13 years ago by angel_il

So?

this ticket about FAR-like behavior (optional):
1) Backspace - delete char in command line
2) if the command line is empty then Backspace - go up to parent dir.

now this impossible in MC, i propose to make such action (not defined by default) maybe PanelSmartBackspace?

comment:11 in reply to: ↑ 10 Changed 13 years ago by andrew_b

  • Version set to master
  • Milestone set to 4.7

Replying to angel_il:

So?

this ticket about FAR-like behavior (optional):
1) Backspace - delete char in command line
2) if the command line is empty then Backspace - go up to parent dir.

You have to run the BS.reg macro for that. Far haven't this behavior by default.

comment:12 Changed 13 years ago by angel_il

  • Owner set to angel_il
  • Status changed from reopened to accepted
  • severity changed from no branch to on review
  • Milestone changed from 4.7 to 4.7.5

branch: 2375_smart_backspace_in_panels
changeset: a77288c66d0e9dcb73f138a30492959a6358c99a

please review

comment:13 Changed 13 years ago by andrew_b

  • Votes for changeset set to andrew_b

comment:14 Changed 13 years ago by slavazanko

  • Votes for changeset changed from andrew_b to andrew_b slavazanko
  • severity changed from on review to approved

branch was rebased. New initial changeset:afa9adabf673113de795ab1d459b292032696826

go-go-go.

comment:15 Changed 13 years ago by angel_il

  • Status changed from accepted to testing
  • Votes for changeset changed from andrew_b slavazanko to committed-stable
  • Resolution set to fixed
  • severity changed from approved to merged

comment:16 Changed 13 years ago by angel_il

  • Votes for changeset changed from committed-stable to committed-master

comment:17 Changed 13 years ago by angel_il

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.