Repository navigation
Expand file tree
/
Copy pathvimini.txt
More file actions
50 lines (38 loc) · 2.31 KB
/
Copy pathvimini.txt
File metadata and controls
50 lines (38 loc) · 2.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
*vimini.txt* For My Awesome Vim Plugin Last change: 2023 Oct 27
==============================================================================
CONTENTS *vimini*
1. Introduction.........................................|vimini-introduction|
2. Usage................................................|vimini-usage|
3. Commands.............................................|vimini-commands|
4. Configuration........................................|vimini-configuration|
==============================================================================
INTRODUCTION *vimini-introduction*
This is a Vim plugin to use Gemini via APIs written in Python 3.
==============================================================================
USAGE *vimini-usage*
Install the plugin using your favorite plugin manager.
==============================================================================
COMMANDS *vimini-commands*
*:ViminiChat*
Opens the interactive chat window to communicate with Gemini.
*:ViminiCommit* [-n] [-r] [-a] [instruction]
Generates a commit message and commits changes using Gemini.
Files included in the commit are shown in the diff stat comments at the
bottom of the buffer. In Normal mode, press <Space> on a file to toggle its
inclusion (deselected files are marked with #-), or delete the file's line.
When saved and closed, deselected files are removed and only remaining
files are committed (file toggling is not available in regenerate mode with
-r).
-n: Omit co-author trailer.
-r: Regenerate commit message for HEAD and amend.
-a: Amend working tree changes into HEAD and regenerate commit message.
[instruction]: Optional hint for the commit message generation.
==============================================================================
CONFIGURATION *vimini-configuration*
g:vimini_user_name
Set this variable in your |vimrc| to customize the greeting message.
Example: >
let g:vimini_user_name = 'Alice'
<
Default: 'Vim User'
==============================================================================