boxes/pages/editors-sublime.md
Thomas Jensen c049484e4c
Update website design
- Updated frameworks for better browser support
- Improved responsive design
- Versioned documentation
- Better social media support via the Jekyll SEO plugin
- New looks, fwiw
- Start page has some more relevant info
- Documentation sorted to be more easily accessible
- Internally upgraded from plain CSS to SASS
2021-05-26 21:13:21 +02:00

1.9 KiB

title permalink created_at last_modified_at
Editor Integration - Sublime Text editors-sublime.html 2018-05-24 16:01:00 +0200 2018-05-24 16:01:00 +0200

Back to All Editors

Integration with Sublime

@drazde found a way to integrate boxes with Sublime Text 3 (from [#47](https://github.com/{{ site.github }}/issues/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.