Ticket #1879 (new enhancement)

Opened 7 years ago

Last modified 9 months ago

restore previous selection

Reported by: x905 Owned by:
Priority: minor Milestone: Future Releases
Component: mc-core Version: 4.7.0-pre4
Keywords: Cc: gotar@…, mooffie@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

I find very useful "restore previous selection" (Ctrl-M) command in FAR (http://farmanager.com/)

i think its not hard to implement this

Change History

comment:1 Changed 7 years ago by andrew_b

  • Priority changed from major to minor

comment:2 Changed 7 years ago by gotar

  • Cc gotar@… added

comment:3 Changed 5 years ago by andrew_b

  • Branch state set to no branch
  • Milestone changed from 4.7 to Future Releases

comment:4 Changed 10 months ago by mooffie

  • Cc mooffie@… added

FAR's manual doesn't explain how their "Restore selection" command behaves. At first I thought they take time into consideration: you mark some files (point A), wait a while, modify the selection (point B), and "Restore selection" would return you to point A. But it seems that it's not quite how their feature works. If anybody has the details of their implementation (or of other "commanders"' implementation of similar features), please mention it here.

Last edited 10 months ago by mooffie (previous) (diff)

comment:5 Changed 9 months ago by mooffie

I implemented this feature for mc2:

http://www.typo.co.il/~mooffie/mc-lua/docs/html/guide/SCREENSHOTS.md.html#Restore_selection

(It's far advanced than FAR's. It remembers a stack of selections per directory.)

Note: See TracTickets for help on using tickets.