Skip to content

Commit 9126c8c

Browse files
committed
Hide default CopyPathCommand
As FileManager provides the FmCopy command, the default one might no longer be of interest. Hide it to avoid duplicated items in sub menus or the command palette.
1 parent 405391e commit 9126c8c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

prevent_default.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,8 @@ def is_visible(self):
6161

6262
def is_enabled(self):
6363
return False
64+
65+
66+
class CopyPathCommand(sublime_plugin.TextCommand):
67+
def is_visible(self):
68+
return False

0 commit comments

Comments
 (0)