removed modes

This commit is contained in:
anon 2024-02-10 19:28:41 +01:00
parent 8fb2fbce3d
commit 20ed78b32a

View File

@ -83,47 +83,7 @@ $ histui tui [options]
+-------------------+
```
### Modes
+ the reason why we have modes is to make both
inspecting and selection entries,
and searching/filtering entries piss easy
##### Normal mode
The user may move up and down freely on the list
with any prefered binding (Vimlike by default),
or repeat a motion by specifying a repeat count
before any motion.
**\[repeat\]\<motion\>**
move around
**:<int>**
Jump to Nth entry.
#### Result stack
Everytime the user issues a search,
or inspects an item
the result stack is pushed.
The top search frame can/will be
overwritten.
The user may pop or clear by hand.
The result stack is NOT persistent between sessions.
#### Command mode
Every character entered narrows the list of results.
The user may use altered {ctrl+n} or special {arrow} keys
to navigate the results,
but may be unable to issue repeats or jumps.
#### Global input
Do note that these actions may have
different bindings in different modes.
#### Input
**<inspect>**
@ -146,6 +106,18 @@ Pop result frame.
Echo entry value and exit with success.
### Result stack
Everytime the user issues a search,
or inspects an item
the result stack is pushed.
The top search frame can/will be
overwritten.
The user may pop or clear by hand.
The result stack is NOT persistent between sessions.
## Format
```
@ -156,7 +128,7 @@ Echo entry value and exit with success.
```
- : left-justify within [width]
\# : relative (has effect on time specifiers)
# : relative (has effect on time specifiers)
```
#### Width