Skip to content

Instantly share code, notes, and snippets.

@chenshengzhi
Last active February 7, 2019 11:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chenshengzhi/eb52c2dbf093c22c075d to your computer and use it in GitHub Desktop.
Save chenshengzhi/eb52c2dbf093c22c075d to your computer and use it in GitHub Desktop.
sublime text 3

sublime text 3:

1.plugins  
2.C build  
3.keymap  
4.preferences  
5.OS X command line tool  
6.header omment snippet  
@chenshengzhi
Copy link
Author

HeaderComment.sublime-snippet

<snippet>
    <content><![CDATA[
/************************
 *
 *  $TM_FILENAME
 *      ${1:[description]}
 *
 *  ${2:[date]}
 *  ${3:[author]}
 *
 ************************/
]]></content>
    <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
    <tabTrigger>***</tabTrigger>
    <!-- Optional: Set a scope to limit where the snippet will trigger -->
    <!-- <scope>source.python</scope> -->
</snippet>

@chenshengzhi
Copy link
Author

Default (OSX).sublime-keymap

[
    { "keys": ["ctrl+i"], "command": "reindent" },
    { "keys": ["ctrl+super+e"], "command": "find_all_under" },
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment