Last active
August 29, 2015 14:15
-
-
Save kurtbartholomew/6322d3726165da4ec1dd to your computer and use it in GitHub Desktop.
Move Up/Down to next open line macro for Sublime
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
/* Move to the next open line up or down (made to emulate line empty line jumping in Vim/Emacs). | |
Open keybindings via Preferences -> Key Bindings - User and past in between the [] brackets. */ | |
{ | |
"keys": ["ctrl+up"], | |
"command": "move", | |
"args": {"by": "stops", "empty_line": true, "forward": false} | |
}, | |
{ | |
"keys": ["ctrl+down"], | |
"command": "move", | |
"args": {"by": "stops", "empty_line": true, "forward": true} | |
} | |
/* Paste in the following as well if you would like to select between paragraphs/empty lines. | |
You may want to change all the bindings to use alt if its easier for you. | |
{ | |
"keys": ["shift+alt+up"], | |
"command": "move", | |
"args": {"by": "stops", "empty_line": true, "forward": false, "extend": true} | |
}, | |
{ | |
"keys": ["shift+alt+down"], | |
"command": "move", | |
"args": {"by": "stops", "empty_line": true, "forward": true, "extend": true} | |
}, | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment