News for hackers. Stuff that matters.
Re:Show HN: Rebase-editor, a simple CLI app specifically for... by saurik on Tuesday March 28, 2017 @08:45PM (#13982296)
So this is just "change the word at the beginning of the line to squash"? All of the commands can be replaced by one-character aliases, so I just use "cws<esc>" to like, "change to squash". What is proving these (much longer and less general) commands like ":Squash<enter>"?
Re:Show HN: Rebase-editor, a simple CLI app specifically for... by eridius on Wednesday March 29, 2017 @12:27AM (#13983403)
Sure, you could do that, but if you're going down the list making changes to 12 lines, it's much easier just to say something like \fj\ejj\sj\sj\fjjj\e instead of ciwfixup<esc>jciwedit<esc>jjciwsquash<esc>jciwsquash<esc>jciwfixup<esc>jjjciwedit<esc>
Re:Show HN: Rebase-editor, a simple CLI app specifically for... by csswizardry on Thursday March 30, 2017 @12:44PM (#13996920)
Re:Show HN: Rebase-editor, a simple CLI app specifically for... by tekknolagi on Tuesday March 28, 2017 @11:33PM (#13983154)
You know, I have these too and I'm not sure. I can't find "Squash" or "Fixup" in my vim init directory. And yet, when I `vim -u NONE`, they don't exist...
Re:Show HN: Rebase-editor, a simple CLI app specifically for... by eridius on Wednesday March 29, 2017 @12:26AM (#13983399)
They're defined in ftplugin/gitrebase.vim in the vim runtime files.