Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 41 additions & 49 deletions Side Bar.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,6 @@
"paths": []
}
},
{
"caption": "Delete",
"command": "fm_delete",
"mnemonic": "e",
"args": {
"paths": []
}
},
{
"caption": "-"
},
Expand Down Expand Up @@ -111,46 +103,46 @@
"paths": []
}
},
{
"caption": "-"
},
{
"mnemonic": "C",
"caption": "Copy",
"children": [
{
"caption": "Name",
"command": "fm_copy",
"args": {
"which": "name",
"paths": []
}
},
{
"caption": "Absolute Path",
"command": "fm_copy",
"args": {
"which": "absolute path",
"paths": []
}
},
{
"caption": "Path from root",
"command": "fm_copy",
"args": {
"which": "path from root",
"paths": []
}
},
{
"caption": "Relative Path",
"command": "fm_copy",
"args": {
"which": "relative path",
"paths": []
}
}
]
}
// {
// "caption": "-"
// },
// {
// "mnemonic": "C",
// "caption": "Copy",
// "children": [
// {
// "caption": "Name",
// "command": "fm_copy",
// "args": {
// "which": "name",
// "paths": []
// }
// },
// {
// "caption": "Absolute Path",
// "command": "fm_copy",
// "args": {
// "which": "absolute path",
// "paths": []
// }
// },
// {
// "caption": "Path from root",
// "command": "fm_copy",
// "args": {
// "which": "path from root",
// "paths": []
// }
// },
// {
// "caption": "Relative Path",
// "command": "fm_copy",
// "args": {
// "which": "relative path",
// "paths": []
// }
// }
// ]
// }

]
12 changes: 10 additions & 2 deletions prevent_default.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import sublime_plugin
from Default.side_bar import RenamePathCommand
from Default.side_bar import RenamePathCommand as DefaultRenamePathCommand


class NewFileAtCommand(sublime_plugin.WindowCommand):
Expand Down Expand Up @@ -34,7 +34,7 @@ def is_enabled(self):
return False


class RenamePathCommand(RenamePathCommand):
class RenamePathCommand(DefaultRenamePathCommand):
def is_visible(self):
return False

Expand All @@ -47,6 +47,14 @@ def is_enabled(self):
return False


class OpenFolderCommand(sublime_plugin.WindowCommand):
def is_visible(self):
return False

def is_enabled(self):
return False


class OpenContainingFolderCommand(sublime_plugin.WindowCommand):
def is_visible(self):
return False
Expand Down