Skip to content

Commit

Permalink
Extended list of addornments for headers added. Fixes #27
Browse files Browse the repository at this point in the history
  • Loading branch information
Kronuz committed Feb 23, 2014
1 parent 86c650e commit 63ffc9e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Default (Linux).sublime-keymap
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
{ "keys": ["tab"], "command": "smart_header", "context":
[
{ "key": "selector", "operator": "equal", "operand": "text.restructuredtext" },
{ "key": "preceding_text", "operator": "regex_match", "operand": "([=\\-\\*\\+\\^\\\"\\+\\~\\#\\'\\:\\`])\\1\\1+$" }
{ "key": "preceding_text", "operator": "regex_match", "operand": "([!\\\"#$%&'\\\\()*+,\\-./:;<=>?@\\[\\]\\^_`{|}~])\\1\\1+$" }
]
},
{ "keys": ["alt+shift+f"], "command": "magic_footnotes", "context":
Expand Down
5 changes: 3 additions & 2 deletions Default (OSX).sublime-keymap
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,11 @@
[
{ "key": "selector", "operator": "equal", "operand": "text.restructuredtext" }
]
}, { "keys": ["tab"], "command": "smart_header", "context":
},
{ "keys": ["tab"], "command": "smart_header", "context":
[
{ "key": "selector", "operator": "equal", "operand": "text.restructuredtext" },
{ "key": "preceding_text", "operator": "regex_match", "operand": "([=\\-\\*\\+\\^\\\"\\+\\~\\#\\'\\:\\`])\\1\\1+$" }
{ "key": "preceding_text", "operator": "regex_match", "operand": "([!\\\"#$%&'\\\\()*+,\\-./:;<=>?@\\[\\]\\^_`{|}~])\\1\\1+$" }
]
},
{ "keys": ["alt+shift+f"], "command": "magic_footnotes", "context":
Expand Down
2 changes: 1 addition & 1 deletion Default (Windows).sublime-keymap
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
{ "keys": ["tab"], "command": "smart_header", "context":
[
{ "key": "selector", "operator": "equal", "operand": "text.restructuredtext" },
{ "key": "preceding_text", "operator": "regex_match", "operand": "([=\\-\\*\\+\\^\\\"\\+\\~\\#\\'\\:\\`])\\1\\1+$" }
{ "key": "preceding_text", "operator": "regex_match", "operand": "([!\\\"#$%&'\\\\()*+,\\-./:;<=>?@\\[\\]\\^_`{|}~])\\1\\1+$" }
]
},
{ "keys": ["alt+shift+f"], "command": "magic_footnotes", "context":
Expand Down

0 comments on commit 63ffc9e

Please sign in to comment.