Skip to content

Commit

Permalink
add a section about tab-completion to README
Browse files Browse the repository at this point in the history
  • Loading branch information
fzipp committed Aug 6, 2023
1 parent 53b81a4 commit 8015bb1
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ go install robpike.io/ivy@latest # or @master if you want to use
# the development version of Ivy.
```

The `ivy` binary should be in the `PATH`.
The `ivy` binary needs to be in the `PATH` for ivy-prompt to locate it.

Then install this wrapper:

Expand All @@ -57,9 +57,19 @@ a complete table of supported keystrokes / actions. Here's a small selection:
| Ctrl-L | Clear screen (line is unmodified) |
| Ctrl-D | (if line is empty) quit |

## History
## Tab-Completion

The history is preserved across sessions
Tab-completion works not only with built-in identifiers
but also with user-defined variables and operators.

It is context-aware to some extent.
For example, it will provide different completion options
after `)help `, `)get "`, `)save "`, or `sys "`
compared to the usual context.

## Input History

The input history is preserved across sessions
in a file named `ivy_history`
within the `ivy` subdirectory,
located within the user configuration directory.
Expand Down

0 comments on commit 8015bb1

Please sign in to comment.