Created
August 16, 2012 18:48
-
-
Save stober/3372585 to your computer and use it in GitHub Desktop.
First Sublime Text Plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sublime, sublime_plugin | |
class FilePathCommand(sublime_plugin.TextCommand): | |
""" Show the full file path in the status bar. """ | |
def run(self, args): | |
sublime.status_message(self.view.file_name()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Need to add something like this to the user keymap file:
{"keys": ["f8"], "command":"file_path", "args":{}}