Skip to content

Instantly share code, notes, and snippets.

@viteinfinite
Last active December 22, 2022 15:29
Show Gist options
  • Save viteinfinite/f8271065ef0874ed96a901101d9354ac to your computer and use it in GitHub Desktop.
Save viteinfinite/f8271065ef0874ed96a901101d9354ac to your computer and use it in GitHub Desktop.
Sublime Key Bindings for rebasing / editing history
[
{
"keys": ["option+shift+down"],
"command": "move_commit",
"args": { "commit": "$commit", "down": true },
},
{
"keys": ["option+shift+up"],
"command": "move_commit",
"args": { "commit": "$commit", "down": false },
},
{
"keys": ["option+shift+f"],
"command": "fixup_commits",
"args": { "commit": "$commit" },
},
{
"keys": ["option+shift+s"],
"command": "squash_commit",
"args": { "commit": "$commit" },
},
{
"keys": ["option+shift+f"],
"command": "fixup_commits",
},
{
"keys": ["option+shift+c"],
"command": "edit_commit_contents",
"args": { "commit": "$commit" },
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment