Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-13 | vimrc: Replace `t` cabbrev with `T` command alias | Teddy Wing | |
Alias `T` to `TComment` instead of using a cabbrev. The abbreviation would mess up commands with "t" in them, like turning `tjump` into `TCommentjump`. Replace the abbreviation with a new `T` command that acts as an alias for `TComment`. I didn't include argument completion because I don't use that. Otherwise, replicate the `TComment` command's definition and pass all parameters to it. This gives us a short alias for commenting, and `T` is the first completion with `:t<Tab>`. | |||
2020-09-18 | plugin/abbreviations.vim: Add cabbrevs for T-prefixed commands | Teddy Wing | |
I used to be able to type: :59-63T<Tab><Enter> to comment out a block. Now, since `TBuffer` is earlier alphabetically than `TComment`, the above no longer works. Add two command line abbreviations to make it easier to use these two commands. |