From 48c7c767573e88f1fc0f5a18dbd9919435186ce6 Mon Sep 17 00:00:00 2001 From: Ben Picolo Date: Thu, 22 May 2014 12:56:01 -0700 Subject: [PATCH] Added package --- .DS_Store | Bin 0 -> 6148 bytes .gitignore | 1 + Context.sublime-menu | 4 ++++ LICENSE.md | 21 +++++++++++++++++++++ README.md | 0 copy_relative_path.py | 10 ++++++++++ 6 files changed, 36 insertions(+) create mode 100644 .DS_Store create mode 100644 .gitignore create mode 100644 Context.sublime-menu create mode 100644 LICENSE.md create mode 100644 README.md create mode 100644 copy_relative_path.py diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0 0: + sublime.set_clipboard( sublime.active_window().active_view().file_name().replace( sublime.active_window().folders()[0] + '/', '' )) + sublime.status_message("Copied relative path") + + def is_enabled(self): + return self.view.file_name() and len(self.view.file_name()) > 0