diff --git a/Side Bar.sublime-menu b/Side Bar.sublime-menu index 235f287..ed9f93e 100644 --- a/Side Bar.sublime-menu +++ b/Side Bar.sublime-menu @@ -55,14 +55,6 @@ "paths": [] } }, - { - "caption": "Delete", - "command": "fm_delete", - "mnemonic": "e", - "args": { - "paths": [] - } - }, { "caption": "-" }, @@ -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": [] + // } + // } + // ] + // } ] diff --git a/prevent_default.py b/prevent_default.py index 928e71a..fbe062e 100644 --- a/prevent_default.py +++ b/prevent_default.py @@ -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): @@ -34,7 +34,7 @@ def is_enabled(self): return False -class RenamePathCommand(RenamePathCommand): +class RenamePathCommand(DefaultRenamePathCommand): def is_visible(self): return False @@ -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