Closed epandurski closed 12 years ago
Enki uses the Ctrl+PgUp
and Ctrl+PgDown
keys to go to the previous or next file from the list of "Open Files". You don't really need the Alt+O
command at all.
Ctrl+PgUp
and Ctrl+PgDown
until the file you want to close is shown in the Editor. Ctrl+W
to close it.The Eclipse-IDE uses the same commands. I learned to use them in no time.
I figured out this after I had filled the issue.
Yet I think consistency requires "Ctrl+W" to do not change the focus. For example "Ctrl+S" in the "open files" does not change the focus. It really seems that at the current state Enki's "open files"-widget does not do much more than showing the list of open files while you are doing "Ctrl+PgUp/Down". But in the future, I am sure a lot of extensions will use "open files" for all kinds of tasks, so I think it is important to have consistent behavior here.
I agree about consistency.
Now, Ctrl+W
, and even Ctrl+PgUp
and Ctrl+PgDown
doesn't move focus to editor.
Let's test it and see, if it is convenient
The problem is: I want to close several files, so I go to "open files", I move the marker to the file which I want to close, I hit "Ctrl+W" -- the file is closed. Then I want to go to the next file in my list, that needs to be closed... but the editor got the focus, so I need to press "Alt+O" again, which is really inconvenient when I have to close 10-20 files.
It seems to me that after pressing "Ctrl+W" the focus should remain in "open files" window.