Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
353f83a9
Commit
353f83a9
authored
May 21, 2024
by
Josh Yan
Browse files
add Ctrl + W shortcut
parent
8aadad9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
cmd/interactive.go
cmd/interactive.go
+1
-0
No files found.
cmd/interactive.go
View file @
353f83a9
...
@@ -138,6 +138,7 @@ func generateInteractive(cmd *cobra.Command, opts runOptions) error {
...
@@ -138,6 +138,7 @@ func generateInteractive(cmd *cobra.Command, opts runOptions) error {
fmt
.
Fprintln
(
os
.
Stderr
,
" Alt + f Move forward (right) one word"
)
fmt
.
Fprintln
(
os
.
Stderr
,
" Alt + f Move forward (right) one word"
)
fmt
.
Fprintln
(
os
.
Stderr
,
" Ctrl + k Delete the sentence after the cursor"
)
fmt
.
Fprintln
(
os
.
Stderr
,
" Ctrl + k Delete the sentence after the cursor"
)
fmt
.
Fprintln
(
os
.
Stderr
,
" Ctrl + u Delete the sentence before the cursor"
)
fmt
.
Fprintln
(
os
.
Stderr
,
" Ctrl + u Delete the sentence before the cursor"
)
fmt
.
Fprintln
(
os
.
Stderr
,
" Ctrl + w Delete the word before the cursor"
)
fmt
.
Fprintln
(
os
.
Stderr
,
""
)
fmt
.
Fprintln
(
os
.
Stderr
,
""
)
fmt
.
Fprintln
(
os
.
Stderr
,
" Ctrl + l Clear the screen"
)
fmt
.
Fprintln
(
os
.
Stderr
,
" Ctrl + l Clear the screen"
)
fmt
.
Fprintln
(
os
.
Stderr
,
" Ctrl + c Stop the model from responding"
)
fmt
.
Fprintln
(
os
.
Stderr
,
" Ctrl + c Stop the model from responding"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment