Skip to content
Browse files

Add macro for "move to next rebase command"

  • Loading branch information...
1 parent 58ee249 commit 4cc59e23fa9141d2c44efb71765ba8a07c4ca375 @adamv adamv committed
Showing with 39 additions and 0 deletions.
  1. +38 −0 Macros/Next Rebase Command.tmMacro
  2. +1 −0 info.plist
View
38 Macros/Next Rebase Command.tmMacro
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//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>argument</key>
+ <dict>
+ <key>action</key>
+ <string>findNext</string>
+ <key>findInProjectIgnoreCase</key>
+ <true/>
+ <key>findString</key>
+ <string>^\s*(pick|p|reword|r|edit|e|squash|s|fixup|f)</string>
+ <key>ignoreCase</key>
+ <true/>
+ <key>regularExpression</key>
+ <true/>
+ <key>replaceAllScope</key>
+ <string>document</string>
+ <key>wrapAround</key>
+ <true/>
+ </dict>
+ <key>command</key>
+ <string>findWithOptions:</string>
+ </dict>
+ </array>
+ <key>keyEquivalent</key>
+ <string>^n</string>
+ <key>name</key>
+ <string>Next Rebase Command</string>
+ <key>scope</key>
+ <string>text.git-rebase</string>
+ <key>uuid</key>
+ <string>683BF855-9BC9-47A6-89DD-7C2192E62FD7</string>
+</dict>
+</plist>
View
1 info.plist
@@ -131,6 +131,7 @@
<string>1C12DE42-78A9-4DCA-BB55-2B8E6328C72D</string>
<string>0DBC221A-B726-4367-A5E1-04AB999F8CC2</string>
<string>E0901B2E-8953-4A2F-A872-8DBE1A047370</string>
+ <string>683BF855-9BC9-47A6-89DD-7C2192E62FD7</string>
</array>
<key>uuid</key>
<string>EADD4718-EE11-4ABF-A7E6-13351FB3799D</string>

0 comments on commit 4cc59e2

Please sign in to comment.
Something went wrong with that request. Please try again.