Hey guys,
This package mainly consists of a single convenience command that I created for myself that I have been using daily. Activate the command and an input window pops up, into it you type a python function which takes the variable ‘s’ as the current text selection and returns a string. It then runs the function on all of your active text selections and replaces them.
So, in essence you would type something like this:
return s.strip().upper().center(80)
The command is a little bit hacky as it uses exec() so don’t expect this to be terribly robust
I also added a simple command to decorate text with a border…
###########
# #
# Like so #
# #
###########
The package is available here: github.com/minism/SublimeBufmod
Should be on PackageControl shortly.