Created
August 9, 2011 12:25
-
-
Save rwilcox/1133908 to your computer and use it in GitHub Desktop.
Useful motion commands for Keymando (also, example of command, delete)
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
# Motion commands | |
map "<Alt-Delete>", "<Alt-Right><Alt-Delete>" # Delete entire current word | |
map "<Cmd-Alt-Delete>", "<Cmd-Right><Cmd-Delete>" # Delete entire current line | |
# Move the current line one line up, or one line down (switch this line with the line currently | |
# above or below it) | |
# | |
# See also: TextMate's Text -> Move Selection -> Line Up (or Line Down) | |
map "<Cmd-Ctrl-Up>", "<Cmd-Left><Shift-Cmd-Right><Cmd-x><Delete><Up><Return><Shift-Cmd-Left><Delete><Cmd-v>" | |
map "<Cmd-Ctrl-Down>", "<Cmd-Left><Shift-Cmd-Right><Cmd-x><Delete><Down><Cmd-Right><Return><Shift-Cmd-Left><Delete><Cmd-v>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment