Ticket #280 (closed enhancement: wontfix)

Opened 15 years ago

Last modified 3 years ago

Fast switch between recently used files

Reported by: angel_il Owned by: angel_il
Priority: major Milestone:
Component: mcedit Version: master
Keywords: Cc: zaytsev, gotar@…, fsefrna@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description (last modified by angel_il) (diff)

Ctrl+F1,F2,F3 or Alt-!, Alt-@, Alt-# - save bookmark
Alt+1,2,3 - fast open bookmarked file

open file1 in mcedit
press Ctrl+F1 or Alt-! (Alt+Shift+1)
exit

open file2 in mcedit
press Ctrl+F2 or Alt-@ (Alt+Shift+2)
exit

open file3 in mcedit
press Ctrl+F3 or Alt-# (Alt+Shift+3)

press Alt+1 goto file1
press Alt+2 goto file2
press Alt+3 goto file3

enjoy )

Attachments

simple_file_edit_history_list.patch (1.5 KB) - added by filipsef 13 years ago.
proof-of-concept of a simple file edit history list

Change History

comment:1 Changed 15 years ago by angel_il

  • Keywords review added
  • Status changed from new to accepted
  • Description modified (diff)

comment:2 Changed 15 years ago by angel_il

  • Description modified (diff)

litle fix

comment:3 Changed 15 years ago by kdave

Shouldn't the component be 'mcedit'?

comment:4 Changed 15 years ago by styx

  • Component changed from mc-core to mcedit

comment:5 Changed 15 years ago by slavazanko

This not good keywords, because on my KDE some hotkeys don't works (works, but by KDE :)

comment:6 follow-ups: ↓ 7 ↓ 8 Changed 15 years ago by kdave

Well, the KDE users will sure be affected by the Ctrl-Fx bindings. I was once beaten for noticing that :)

See
http://www.mail-archive.com/mc-devel@gnome.org/msg02348.html

Funny that it came from Oswald who now writes from a @kde.org mail ;)

Everybody has his/her own habits and favorite keybindings. Clashes happen, we cannot satisfy everyone's needs. My proposal would be not to use any "overused" keybindings or at least bring up a discussion about that.

comment:7 in reply to: ↑ 6 Changed 15 years ago by angel_il

Replying to kdave:

Well, the KDE users will sure be affected by the Ctrl-Fx bindings.

you can use Alt-!, Alt-@, Alt-# as alternative Ctrl+Fn

comment:8 in reply to: ↑ 6 Changed 15 years ago by angel_il

My proposal would be not to use any "overused" keybindings

and... you can not use Ctrl+Fx

comment:9 Changed 15 years ago by angel_il

  • Description modified (diff)

comment:10 Changed 15 years ago by styx

  • Keywords vote-styx added

comment:11 Changed 15 years ago by winnie

  • Keywords review vote-styx removed
  • Votes for changeset set to styx
  • severity set to on review

comment:12 Changed 15 years ago by angel_il

  • Votes for changeset styx deleted
  • severity changed from on review to on rework

comment:13 Changed 15 years ago by angel_il

  • Version changed from 4.6.2 to master
  • Milestone changed from 4.7 to 4.7.0-pre2

comment:14 Changed 15 years ago by angel_il

  • Milestone changed from 4.7.0-pre2 to 4.7.0-pre3

comment:15 Changed 15 years ago by angel_il

  • Milestone changed from 4.7.0-pre3 to 4.7.0-pre4

comment:16 Changed 15 years ago by angel_il

  • severity changed from on rework to on review

branch: 280_multiedit (parent: master)
changeset: 14c7a7a15dd381572269b59bdf2c7c215eae32fe

comment:17 Changed 15 years ago by slavazanko

  • severity changed from on review to on rework
  • Milestone changed from 4.7.0-pre4 to 4.7

branch incomplete

comment:18 Changed 14 years ago by zaytsev

  • Cc zaytsev added

Actually, do we need this if we have #1490 ???

comment:19 Changed 14 years ago by andrew_b

I think we should implement the list of recent opened files in editor or viewer -- visualization of ~/.mc/filepos. This can be done in this ticket.

comment:20 Changed 14 years ago by zaytsev

Ok I get it. Thanks.

comment:21 Changed 14 years ago by gotar

  • Cc gotar@… added

comment:22 Changed 13 years ago by filipsef

  • Branch state set to no branch

I've implemented a simple list of recently edited files. I'm sending a patch against src/filemanager/panel.c

Note: this patch is just a proof-of-concept. It replaces the existing functionality of "directory history" which is triggered by <alt><shift>h.

If you like this patch, we will have to create a new shortcut. I suggest <alt><shift>e or <ctrl>] (next to <ctr>bksp, directory hotlist).

Ideas for improvement:

  • change title of the list to "History of edited files"
  • add keyboard shortcuts F4 to show file in editor (same as in Find files dialog)

Changed 13 years ago by filipsef

proof-of-concept of a simple file edit history list

comment:23 Changed 13 years ago by filipsef

  • Cc fsefrna@… added

comment:24 Changed 12 years ago by andrew_b

  • Milestone changed from 4.7 to Future Releases

comment:25 Changed 9 years ago by dandv

So what's the status of this feature? As an end-user, what shortcut will trigger the list of the most recently edited files?

I us this feature several hundred times a day in NDN, but its Linux port is now broken.

comment:26 Changed 5 years ago by andrew_b

  • Status changed from accepted to testing
  • Resolution set to wontfix
  • Milestone Future Releases deleted

Close in favor of #2733.

comment:27 Changed 3 years ago by andrew_b

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