Integration with Sublime

@drazde found a way to integrate boxes with Sublime Text 3 (from #47):

  1. Open Sublime Text 3
  2. Install Package Control and restart Sublime.
  3. Choose Tools → Command Palette… from the main menu and select Package Control: Install Package, then choose FilterPipes.
  4. Choose Tools → Command Palette… from the main menu and select FilterPipes: My Custom Filters Plugin
  5. In the following file open dialog, open %APPDATA%\Sublime Text 3\​Packages\​MyCustomFilterPipes\​Default.sublime-commands. This is the default on Windows, but if you are on other operating systems, the dialog should already be open in the correct folder.
  6. Before the closing ], add the following:
    {   /* Boxes stone */
        "caption": "FilterPipes: Boxes stone",
        "command": "filter_pipes_process",
        "args": {
            "command": ["boxes", "-d", "stone", "-a", "c", "-s", "80"]
        }
    }
    

    Be sure to add a comma after the previous entry, so that the list is continued properly.

  7. Now you have a new command Boxes stone which will create a stone styled box of 80 characters in width around the selected text. In may be accessed via the command palette like above, or you might want to define a hotkey or a macro to do it.
  8. Add more FilterPipes commands for other designs, or for removing and repairing your ASCII art boxes.