-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some issues with closing sidebar windows and file placement...possible command to close all direds in current window #111
Comments
4.) Also if you have groups in any other format than single window the command puts the sidebar always on the next window instead as a sidebar on the side as desired. I assume there is no way around this? |
I’ll reply to other points later. |
Yes sorry I meant group. Sometimes I forget what exactly to write because I'm used to coming from |
{
"keys": ["enter"],
"command": "dired_select", "args": {"other_group": true, "and_close": true},
"context": [
{ "key": "selector", "operator": "equal", "operand": "text.dired" },
{ "key": "setting.dired_rename_mode", "operand": false }
]
}
|
Yeah I've kind of figured out when to use What I did notice that I'm not sure is the desired behaivor is pressing
|
Opinions. IIRC, it was done this way to demonstrate user available options. If you don’t like defaults, then you simply re-define them in user keybindings file.
It make sure to re-use the first existing dired buffer (if any) whenever you launch dired command; otherwise, it will look if existing buffer has same path you’re trying to open.
Didn’t you had intention to send pull request? I mean it was you, right? Go ahead, prs are welcomed. |
Yes I had worked on it but had some issues with calling |
Do you mean |
Yes
|
This was in the |
I’ve no OSX so I cannot be sure, maybe plugin was not reloaded properly, restart ST will fix it
|
Okay I'll try over the weekend to figure it out. I mean I can code the script just fine to work outside of sublime text so not sure what is going on. |
1.) If you open a dired in the sidebar and you call the command to close the window when selecting a file then it opens it in that little sidebar window. Then you have a sidebar window with the file open and your main window. Can it open the file in the main window like the normal behavior and then close the sidebar?
2.) Also is there a command you can run to possibly close the sidebar if it is open instead of jumping to it or possibly it could just close all dired windows open in the current window and this would cover it?
3.) This isn't a huge issue but I have had happen to me and I think it is due to sublemacs window killing. If I close a group with
sublemacs
[ctrl+x], [d]
then I have one window that the dired window is still there. Then if I hit the command to bring up the dired sidebar again it puts the main window to my set window width and the side bar is moved to a new group that is the length of the main window so it does the reverse of what it normally does.Thanks, this package is great!
The text was updated successfully, but these errors were encountered: