Skip to content

Instantly share code, notes, and snippets.

@stober
Created August 16, 2012 18:48
Show Gist options
  • Save stober/3372585 to your computer and use it in GitHub Desktop.
Save stober/3372585 to your computer and use it in GitHub Desktop.
First Sublime Text Plugin
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())
@stober
Copy link
Author

stober commented Aug 16, 2012

Need to add something like this to the user keymap file:
{"keys": ["f8"], "command":"file_path", "args":{}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment