Skip to content

Instantly share code, notes, and snippets.

@gwang
Last active August 29, 2015 14:27
Show Gist options
  • Select an option

  • Save gwang/3c9393c53daa77e908be to your computer and use it in GitHub Desktop.

Select an option

Save gwang/3c9393c53daa77e908be to your computer and use it in GitHub Desktop.
sublime 3 tips & tricks

Problem

The MarkdownEditing plugin by default use a theme that becomes annoying when your sublime system theme is of a dark one such as Centurion. More problematic, the plugin's default settings are not editable since it was not automatically saved in the file sysetm c:\Users\username\Appdata\Roaming\Sublime Text 3\Packages.

Fix

  1. Install the PackageResourceViewer plugin

  2. ctrl+shift+p and type prv to bring the PackageResourceViewer up, find MarkdownEditing and hit return. Now the setting files are saved in the file system.

  3. Open c:\Users\username\Appdata\Roaming\Sublime Text 3\Packages\MarkdownEditing\Markdown.sublime-settings, and make the following changes:

     //"color_scheme": "Packages/MarkdownEditing/MarkdownEditor.tmTheme",
     "color_scheme": "Packages/MarkdownEditing/MarkdownEditor-Dark.tmTheme",
     // "color_scheme": "Packages/MarkdownEditing/MarkdownEditor-Yellow.tmTheme",
     
     // Layout
     "draw_centered": false,
     // Line
     "line_numbers": true,
    
  4. The above changes will

    • Use a theme at least close enough to Centurion
    • Left side aligned
    • Show the line numbers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment