#! /usr/bin/env python3 # -*- coding: utf-8; mode: python -*- """ Tiny SublimeText3 plugin to add this command: 'set_status' - It changes the status message, and accepts one argument - It is NOT binded to any key About: - *Date:* 2016-10-27 - *Version:* 0.0.1 - *Web:* http://stackoverflow.com/a/39502807/5889533 - *Author:* Lilian Besson (C) 2016 - *Licence:* MIT Licence (http://lbesson.mit-license.org) """ import sublime import sublime_plugin class SetStatusCommand(sublime_plugin.TextCommand): def run(self, edit, value="set_status: use arg 'value' to set text"): self.view.window().status_message(value)