Compare commits
No commits in common. "20ed78b32a7ecabdb9c0fcbb3bf716422d1f160b" and "88608775fd6c3b81422bc9938e1b22692626766e" have entirely different histories.
20ed78b32a
...
88608775fd
@ -83,7 +83,47 @@ $ histui tui [options]
|
||||
+-------------------+
|
||||
```
|
||||
|
||||
#### Input
|
||||
### 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.
|
||||
|
||||
**<inspect>**
|
||||
|
||||
@ -106,35 +146,23 @@ 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
|
||||
|
||||
```
|
||||
%[flags][width]<specifier>
|
||||
```
|
||||
|
||||
#### Flags
|
||||
#### flags
|
||||
|
||||
```
|
||||
- : left-justify within [width]
|
||||
# : relative (has effect on time specifiers)
|
||||
\# : relative (has effect on time specifiers)
|
||||
```
|
||||
|
||||
#### Width
|
||||
#### width
|
||||
+ number of characters to align to
|
||||
|
||||
#### Specifiers
|
||||
#### specifiers
|
||||
These specifiers root mainly from the C stdlib.
|
||||
|
||||
```
|
||||
@ -146,8 +174,8 @@ A : full weekday name
|
||||
u : ISO 8601 decimal week day weekday (1-7)
|
||||
b : short month name
|
||||
B : full month name
|
||||
C : year (integer) devided by 100
|
||||
d : day of the month; 0 padded {"09"}
|
||||
C : year (integer) devided by 100
|
||||
d : day of the month; 0 padded {"09"}
|
||||
D : short date ("MM/DD/YY")
|
||||
H : hour in 24h format {18}
|
||||
I : hour in 12h format {06}; 0 padded
|
||||
@ -160,14 +188,3 @@ T : ISO 8601 time format ("HH:MM:SS")
|
||||
|
||||
# Environment
|
||||
HISTUIFILE : histuidb to be used
|
||||
|
||||
|
||||
+---+---------------+
|
||||
| p | ssh nigger |
|
||||
| o | ssh hot@nigger|
|
||||
| s | ssh nigger1 |
|
||||
+---+---------------+
|
||||
| ruler |
|
||||
+-------------------+
|
||||
| ssh nigger |
|
||||
+-------------------+
|
||||
|
Loading…
Reference in New Issue
Block a user