3 ms·
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>"
by saurik 10y ago
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>"?
- tekknolagi 10y agoYou 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...
- eridius 10y agoThey're defined in ftplugin/gitrebase.vim in the vim runtime files.
- eridius 10y agoSure, 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>
- deleted 10y ago[deleted]
- csswizardry 10y agoRelated: https://twitter.com/csswizardry/status/843040649666596865 https://twitter.com/csswizardry/status/843040649666596865