-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vim-ai.ini
19 lines (14 loc) · 891 Bytes
/
.vim-ai.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[default]
[right.chat]
ui.force_new_chat = 1
ui.open_chat_command = preset_right
[below.chat]
ui.force_new_chat = 1
ui.open_chat_command = preset_below
[tab.chat]
ui.force_new_chat = 1
ui.open_chat_command = preset_tab
[explain]
prompt = Explain the following code snippet, but not line by line. Give a general overview of the code: why it might have been implemented this way, its purpose, its quirks, and possible improvements, if any.
[review]
prompt = Review the following code snippet. Make sure it follows established best practices, is clean, efficient and maintainable. Pay close attention to common mistakes like syntax errors, logic errors, security vulnerabilities, performance and scalability issues, or anything that seems questionable. For each mistake found, explain what is wrong and how to correct or improve it. Give your answer as one bullet point per mistake found.