Created
January 30, 2023 10:21
-
-
Save julianorchard/48425f1d11bdae2f12d6bd9ca88ea278 to your computer and use it in GitHub Desktop.
Vim Insert Git Signature Using `iab`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " ~g to insert 'git_username <git@email.com>' | |
| iab <expr> ~g substitute(system('git config --global user.name') . " <" . | |
| \system('git config --global user.email') . ">", '\n', '', 'g') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment