Skip to content

Commit

Permalink
Replaced text plugin with snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
koroshiya committed Sep 29, 2019
1 parent d5656af commit e6c8845
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 41 deletions.
6 changes: 3 additions & 3 deletions Default (Linux).sublime-keymap
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[
{ "keys": ["ctrl+i"], "command": "renpy_text_tag", "args": {"tag": "i"}, "context": [
{ "keys": ["ctrl+i"], "command": "insert_snippet", "args": {"contents": "{i}$SELECTION$0{/i}"}, "context": [
{ "key": "selector", "operator": "equal", "operand": "string.quoted.single.single-line.python.renpy, string.quoted.double.single-line.python.renpy" }
] },
{ "keys": ["ctrl+b"], "command": "renpy_text_tag", "args": {"tag": "b"}, "context": [
{ "keys": ["ctrl+b"], "command": "insert_snippet", "args": {"contents": "{b}$SELECTION$0{/b}"}, "context": [
{ "key": "selector", "operator": "equal", "operand": "string.quoted.single.single-line.python.renpy, string.quoted.double.single-line.python.renpy" }
] },
{ "keys": ["ctrl+u"], "command": "renpy_text_tag", "args": {"tag": "u"}, "context": [
{ "keys": ["ctrl+u"], "command": "insert_snippet", "args": {"contents": "{u}$SELECTION$0{/u}"}, "context": [
{ "key": "selector", "operator": "equal", "operand": "string.quoted.single.single-line.python.renpy, string.quoted.double.single-line.python.renpy" }
] }
]
6 changes: 3 additions & 3 deletions Default (OSX).sublime-keymap
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[
{ "keys": ["super+i"], "command": "renpy_text_tag", "args": {"tag": "i"}, "context": [
{ "keys": ["super+i"], "command": "insert_snippet", "args": {"contents": "{i}$SELECTION$0{/i}"}, "context": [
{ "key": "selector", "operator": "equal", "operand": "string.quoted.single.single-line.python.renpy, string.quoted.double.single-line.python.renpy" }
] },
{ "keys": ["super+b"], "command": "renpy_text_tag", "args": {"tag": "b"}, "context": [
{ "keys": ["super+b"], "command": "insert_snippet", "args": {"contents": "{b}$SELECTION$0{/b}"}, "context": [
{ "key": "selector", "operator": "equal", "operand": "string.quoted.single.single-line.python.renpy, string.quoted.double.single-line.python.renpy" }
] },
{ "keys": ["super+u"], "command": "renpy_text_tag", "args": {"tag": "u"}, "context": [
{ "keys": ["super+u"], "command": "insert_snippet", "args": {"contents": "{u}$SELECTION$0{/u}"}, "context": [
{ "key": "selector", "operator": "equal", "operand": "string.quoted.single.single-line.python.renpy, string.quoted.double.single-line.python.renpy" }
] }
]
6 changes: 3 additions & 3 deletions Default (Windows).sublime-keymap
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[
{ "keys": ["ctrl+i"], "command": "renpy_text_tag", "args": {"tag": "i"}, "context": [
{ "keys": ["ctrl+i"], "command": "insert_snippet", "args": {"contents": "{i}$SELECTION$0{/i}"}, "context": [
{ "key": "selector", "operator": "equal", "operand": "string.quoted.single.single-line.python.renpy, string.quoted.double.single-line.python.renpy" }
] },
{ "keys": ["ctrl+b"], "command": "renpy_text_tag", "args": {"tag": "b"}, "context": [
{ "keys": ["ctrl+b"], "command": "insert_snippet", "args": {"contents": "{b}$SELECTION$0{/b}"}, "context": [
{ "key": "selector", "operator": "equal", "operand": "string.quoted.single.single-line.python.renpy, string.quoted.double.single-line.python.renpy" }
] },
{ "keys": ["ctrl+u"], "command": "renpy_text_tag", "args": {"tag": "u"}, "context": [
{ "keys": ["ctrl+u"], "command": "insert_snippet", "args": {"contents": "{u}$SELECTION$0{/u}"}, "context": [
{ "key": "selector", "operator": "equal", "operand": "string.quoted.single.single-line.python.renpy, string.quoted.double.single-line.python.renpy" }
] }
]
32 changes: 0 additions & 32 deletions RenpyTextTag.py

This file was deleted.

0 comments on commit e6c8845

Please sign in to comment.