Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (8 sloc) 0.318 kb
import sublime, sublime_plugin, os
class ShowFilenameInStatus(sublime_plugin.EventListener):
def on_activated_async(self, view):
filename = os.path.split(view.file_name())[1]
if filename is None:
view.erase_status('_filename')
else:
view.set_status('_filename', "File: " + filename)
Jump to Line
Something went wrong with that request. Please try again.