Ticket #2156 (assigned enhancement)
Run editor from viewer
Reported by: | nickk9 | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Future Releases |
Component: | mcview | Version: | master |
Keywords: | Cc: | zaytsev | |
Blocked By: | Blocking: | ||
Branch state: | on rework | Votes for changeset: |
Description (last modified by andrew_b) (diff)
From #83
It would be great if viewer would have key shortcut to run editor on the same file (so i view some file, understand that i need to edit it, then press, say Alt-F4 and get editor on this file from the same position).
I thought that default editor behaviour (placing current line in the middle of the window) not convenient when switching from viewer to editor (thus is results in shifting text), so i modified abovementioned patch to disable such scrolling in this very case.
Attachments
Change History
comment:1 Changed 15 years ago by andrew_b
- Description modified (diff)
- Summary changed from Run editor form viewer to Run editor from viewer
comment:2 Changed 15 years ago by zaytsev
Alt+F4 is very dangerous as a shortcut. It is normally stolen by X if you are running mc from within the terminal emulator and does nothing else but closes the current window. Shift+F4 is not too bad, BUT on the other hand, we've got one free place in there (F6), so maybe one could use this instead.
comment:4 Changed 15 years ago by angel_il
- Owner set to angel_il
- Status changed from new to accepted
- severity changed from no branch to on review
branch: 2156_run_editor_from_viewer
changest: fd6c871bcee6f74f480da6ed417916efdc3733d6
comment:5 Changed 15 years ago by angel_il
- Version changed from 4.7.1 to master
- Milestone changed from 4.7 to 4.7.3
comment:8 Changed 14 years ago by andrew_b
- severity changed from on review to on rework
- Milestone changed from 4.7.5 to 4.7
Current 2156_run_editor_from_viewer branch doesn't respect the multi-screen engine. Rework is needed.
comment:9 Changed 13 years ago by andrew_b
- Branch state set to on rework
- Milestone changed from 4.7 to Future Releases
comment:10 Changed 11 years ago by ossi
i would move the hex mode to F6 (it's not such a commonly used feature that many people would be very upset about this change) and map the function to F4 to be consistent with mc itself. the next mode itself already has a view/edit switch on F2 which should be moved to F4, and save on F6, which should be moved to F2, obviously.
comment:11 Changed 8 years ago by andrew_b
- Status changed from accepted to assigned
- Owner angel_il deleted