Closed marawan-nwh closed 7 years ago
You can press ⌘+enter or ctrl+enter or rebind it to enter in user keybindings file adding:
{
"keys": ["enter"],
"command": "dired_select",
"args": { "new_view": true },
"context": [
{ "key": "selector", "operator": "equal", "operand": "text.dired" },
{ "key": "setting.dired_rename_mode", "operand": false }
]
}
Thanks, works very well. Can i do this with double click?
You can create your own plugin with unique command which would call select without other_group argument like this https://github.com/aziz/SublimeFileBrowser/blob/master/dired.py#L808-L830
and bind double click to this new command in Packages/User/Default.sublime-mousemap
like this https://github.com/aziz/SublimeFileBrowser/blob/master/Default.sublime-mousemap
BTW, new_view argument in my prev message is not needed, remove it if do not want to open each folder in separate view.
It always opens files in another two columns layout, how to stop that?