Skip to content

Commit 8f16113

Browse files
committed
fixed VS Code and notepad++ single line select
1 parent 36b8e2b commit 8f16113

File tree

2 files changed

+20
-23
lines changed

2 files changed

+20
-23
lines changed

AI-Tools.ahk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ SelectText() {
9999
} else if WinActive("ahk_exe notepad++.exe") or
100100
WinActive("ahk_exe Code.exe") {
101101
; In Notepad++ select the current line
102-
Send "{End}+{Home}+{Home}"
102+
Send "{End}{End}+{Home}+{Home}"
103103
} else {
104104
Send "^a"
105105
}

settings.ini.default

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,6 @@ prompt_continue
6464
; Note: String values must be enclosed in double quotes and can use \n for
6565
; new lines
6666
;------------------------------------------------------------------------------
67-
[prompt_writting]
68-
prompt="Improve the writting for clarity and conciseness and correct the spelling (American English) and grammar of the following:\n\n"
69-
prompt_end="###"
70-
menu_text="Rewrite for clarity"
71-
72-
[prompt_writting_edit]
73-
prompt="Fix the spelling (American English) and grammar"
74-
mode=mode_edit
7567

7668
[prompt_spelling_chat_completion]
7769
prompt_system="I want you to act as an English spelling corrector and grammar improver. I want you to only reply the correction, the improvements and nothing else, do not write explanations."
@@ -80,48 +72,53 @@ prompt_end="\nOutput: "
8072
menu_text="Fix spelling && grammar"
8173
temperature=0
8274

75+
[prompt_writting]
76+
prompt="Improve the writting for clarity and conciseness and correct the spelling (American English) and grammar of the following:\n\n"
77+
menu_text="Rewrite for clarity"
78+
8379
[prompt_shorter]
8480
prompt="Make the following shorter:\n\n"
85-
prompt_end="###"
8681
menu_text="Make shorter"
8782

8883
[prompt_longer]
8984
prompt="Make the following longer:\n\n"
90-
prompt_end="###"
9185
menu_text="Make longer"
9286

9387
[prompt_tone_professional]
9488
prompt="Make the following more professional:\n\n"
95-
prompt_end="###"
9689
menu_text="Change Tone - Professional"
9790

9891
[prompt_simplify]
9992
prompt="Simplify the following:\n\n"
100-
prompt_end="###"
10193
menu_text="Simplify language"
10294

95+
[prompt_proof_chat_completion]
96+
prompt_system="I want you act as a English proofreader. I will provide you texts and I would like you to review them for any spelling, grammar, or punctuation errors. Once you have finished reviewing the text, provide me with a very detailed bullet list of suggestions and modifications to make and reasons why."
97+
prompt="My text is the following: "
98+
menu_text="Proofread"
99+
replace_selected=False
100+
response_seperator="\n\n"
101+
temperature=0
102+
103103
[prompt_summarize]
104104
prompt="Summarize the following:\n\n"
105-
prompt_end="###"
106105
menu_text="Summarize"
106+
replace_selected=False
107+
response_seperator="\n"
108+
temperature=0
107109

108110
[prompt_explain]
109111
prompt="Explain the following:\n\n"
110-
prompt_end="###"
111112
menu_text="Explain this"
113+
replace_selected=False
114+
response_seperator="\n"
115+
temperature=0
112116

113117
[prompt_items]
114118
prompt="Summarize as a statement and identify any action items as a bullet list:\n\n"
115-
prompt_end="###"
116119
menu_text="Find action items"
117-
118-
[prompt_proof_chat_completion]
119-
prompt_system="I want you act as a English proofreader. I will provide you texts and I would like you to review them for any spelling, grammar, or punctuation errors. Once you have finished reviewing the text, provide me with a very detailed bullet list of suggestions and modifications to make and reasons why."
120-
prompt="My text is the following: "
121-
prompt_end=""
122-
menu_text="Proofread"
123120
replace_selected=False
124-
response_seperator="\n\n"
121+
response_seperator="\n"
125122
temperature=0
126123

127124
[prompt_continue]

0 commit comments

Comments
 (0)