public
Description: Ruby TextMate bundle
Homepage: http://drnicwilliams.com
Clone URL: git://github.com/drnic/ruby-tmbundle.git
ruby-tmbundle / Macros / Overwrite } in #{ .. }.plist
100644 55 lines (54 sloc) 1.316 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>commands</key>
  <array>
    <dict>
      <key>command</key>
      <string>moveRightAndModifySelection:</string>
    </dict>
    <dict>
      <key>argument</key>
      <dict>
        <key>action</key>
        <string>replaceAll</string>
        <key>findInProjectIgnoreCase</key>
        <false/>
        <key>findString</key>
        <string>((?m:.){2,})|\}|([^}])</string>
        <key>ignoreCase</key>
        <false/>
        <key>regularExpression</key>
        <true/>
        <key>replaceAllScope</key>
        <string>selection</string>
        <key>replaceString</key>
        <string>$1}$2</string>
        <key>wrapAround</key>
        <false/>
      </dict>
      <key>command</key>
      <string>findWithOptions:</string>
    </dict>
    <dict>
      <key>command</key>
      <string>moveLeft:</string>
    </dict>
    <dict>
      <key>command</key>
      <string>moveRight:</string>
    </dict>
  </array>
  <key>keyEquivalent</key>
  <string>}</string>
  <key>name</key>
  <string>Overwrite '}' in #{ .. }</string>
  <key>scope</key>
  <string>source.ruby string.quoted source.ruby.embedded</string>
  <key>scopeType</key>
  <string>local</string>
  <key>uuid</key>
  <string>E5158F94-CC52-4424-A495-14EF9272653F</string>
</dict>
</plist>