Easy way to `git rebase HEAD~x -i`?


Hi there, I’m trying to get back to atom. My favorite text editor is vim. I’ve been using atom and really liking it. However there is this commands flow which makes it harder to use from within the editor.

Usually I’m writing code, and did some commits, then I add something (or fix something) and I feel that should be in one commit in the past. I usually do git stash, then git rebase HEAD~x -i, set the commit to be edited, git stash pop, git add -u, git commit --amend --no-edit, git rebase continue. From this flow, I can do almost everything, except the rebase HEAD~x -i. Is there a plugin or a way to accomplish that?