Skip to content

Commit

Permalink
fixed VS Code and notepad++ single line select
Browse files Browse the repository at this point in the history
  • Loading branch information
ecornell committed Mar 14, 2023
1 parent 36b8e2b commit 8f16113
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 23 deletions.
2 changes: 1 addition & 1 deletion AI-Tools.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ SelectText() {
} else if WinActive("ahk_exe notepad++.exe") or
WinActive("ahk_exe Code.exe") {
; In Notepad++ select the current line
Send "{End}+{Home}+{Home}"
Send "{End}{End}+{Home}+{Home}"
} else {
Send "^a"
}
Expand Down
41 changes: 19 additions & 22 deletions settings.ini.default
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,6 @@ prompt_continue
; Note: String values must be enclosed in double quotes and can use \n for
; new lines
;------------------------------------------------------------------------------
[prompt_writting]
prompt="Improve the writting for clarity and conciseness and correct the spelling (American English) and grammar of the following:\n\n"
prompt_end="###"
menu_text="Rewrite for clarity"

[prompt_writting_edit]
prompt="Fix the spelling (American English) and grammar"
mode=mode_edit

[prompt_spelling_chat_completion]
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."
Expand All @@ -80,48 +72,53 @@ prompt_end="\nOutput: "
menu_text="Fix spelling && grammar"
temperature=0

[prompt_writting]
prompt="Improve the writting for clarity and conciseness and correct the spelling (American English) and grammar of the following:\n\n"
menu_text="Rewrite for clarity"

[prompt_shorter]
prompt="Make the following shorter:\n\n"
prompt_end="###"
menu_text="Make shorter"

[prompt_longer]
prompt="Make the following longer:\n\n"
prompt_end="###"
menu_text="Make longer"

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

[prompt_simplify]
prompt="Simplify the following:\n\n"
prompt_end="###"
menu_text="Simplify language"

[prompt_proof_chat_completion]
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."
prompt="My text is the following: "
menu_text="Proofread"
replace_selected=False
response_seperator="\n\n"
temperature=0

[prompt_summarize]
prompt="Summarize the following:\n\n"
prompt_end="###"
menu_text="Summarize"
replace_selected=False
response_seperator="\n"
temperature=0

[prompt_explain]
prompt="Explain the following:\n\n"
prompt_end="###"
menu_text="Explain this"
replace_selected=False
response_seperator="\n"
temperature=0

[prompt_items]
prompt="Summarize as a statement and identify any action items as a bullet list:\n\n"
prompt_end="###"
menu_text="Find action items"

[prompt_proof_chat_completion]
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."
prompt="My text is the following: "
prompt_end=""
menu_text="Proofread"
replace_selected=False
response_seperator="\n\n"
response_seperator="\n"
temperature=0

[prompt_continue]
Expand Down

0 comments on commit 8f16113

Please sign in to comment.