You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ Generate proper git commit message using ChatGPT in Vim:
6
6
7
7
This plugin provides a `:GptCommit` command to generate commit message and append in the current buffer.
8
8
9
+
Usually, it can be used when editing the `COMMIT_EDITMSG` file, or in a fugitive commit window.
10
+
9
11
## Quick start
10
12
11
13
For vim-plug:
@@ -40,12 +42,12 @@ Requirements:
40
42
This plugin provides only one command:
41
43
42
44
```VimL
43
-
:GptCommand[!] [repo_path]
45
+
:GptCommit[!] [repo_path]
44
46
```
45
47
46
48
It will generate git commit message and append to the current cursor position. If the `repo_path` is omitted, the directory name of the current buffer will be used.
47
49
48
-
If the bang (`!`) is included, `:GptCommand` will not append any text to the current buffer, instead, it will only store the messages in the unnamed register (`*`). You can use them any time manually by `"*p` or display the content by:
50
+
If the bang (`!`) is included, `:GptCommit` will not append any text to the current buffer, instead, it will only store the messages in the unnamed register (`*`). You can use them any time manually by `"*p` or display the content by:
49
51
50
52
```VimL
51
53
:echo @*
@@ -95,7 +97,7 @@ If you find this plugin amusing, you might also be interested in my other vim pl
95
97
-[vim-auto-popmenu](https://github.com/skywind3000/vim-auto-popmenu): Display the completion menu automantically.
96
98
-[vim-color-export](https://github.com/skywind3000/vim-color-export): A tool to backport NeoVim colorschemes to Vim.
97
99
-[vim-navigator](https://github.com/skywind3000/vim-navigator): Navigate your commands easily.
98
-
-[vim-rt-format](https://github.com/skywind3000/vim-rt-format): Prettify current line on Enter.
100
+
-[vim-rt-format](https://github.com/skywind3000/vim-rt-format): Prettify current line when you press Enter.
99
101
-[vim-quickui](https://github.com/skywind3000/vim-quickui): The missing UI extensions for Vim 8.2 (and NeoVim 0.4).
100
102
-[asynctasks.vim](https://github.com/skywind3000/asynctasks.vim): Modern task system for project building/testing/deploying.
0 commit comments