dotfiles/.vim/after/ftplugin/gitcommit/ai.vim

7 lines
328 B
VimL
Raw Permalink Normal View History

2024-02-19 16:07:53 +01:00
nmap <leader>vd /diff --git<cr> 0vG$
command! AIcommit ALTredir !§ai-commit.mjs
command! AIcommitConventional ALTredir !§ai-commit.mjs --format conventional
command! AIcommitGitmoji ALTredir !§ai-commit.mjs --format gitmoji
command! AIcommitGit3moji ALTredir !§ai-commit.mjs --format git3moji
nmap <leader><f1> :AIcommitOP