Skip to content

Commit

Permalink
Add ⌥⏎ to Insert new line above
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Nov 13, 2014
1 parent 3378395 commit 48dd788
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
48 changes: 48 additions & 0 deletions Macros/Move to BOL and Insert LF.tmMacro
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?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>changed</key>
<dict>
<key>commands</key>
<array>
<dict>
<key>command</key>
<string>moveToBeginningOfLine:</string>
</dict>
<dict>
<key>command</key>
<string>insertNewline:</string>
</dict>
<dict>
<key>command</key>
<string>moveUp:</string>
</dict>
<dict>
<key>argument</key>
<string>a</string>
<key>command</key>
<string>insertText:</string>
</dict>
<dict>
<key>command</key>
<string>indent:</string>
</dict>
<dict>
<key>command</key>
<string>deleteBackward:</string>
</dict>
</array>
<key>keyEquivalent</key>
<string>~</string>
</dict>
<key>deleted</key>
<array>
<string>scope</string>
</array>
<key>isDelta</key>
<true/>
<key>uuid</key>
<string>DE720B53-107F-4AF8-8768-96D25AEBEE6C</string>
</dict>
</plist>
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ and replace `callback.document.export` with `callback.document.will-save`

Removed as <kbd>⇧⌘N</kbd> has been introduced as a builtin command.

### <kbd>⌥⏎</kbd> Insert new line above

This is like `O` (vs. `o` which is <kbd>⌘⏎</kbd>) in `vim`.



<br><br>
Expand Down

0 comments on commit 48dd788

Please sign in to comment.