LoricAndre
7df8b77739
feat: use clap & derive for options, manpage & completions ( #586 )
...
Build & Test / test (linux, ubuntu-latest, stable, x86_64-unknown-linux-musl) (push) Has been cancelled
Build & Test / test (macos, macos-latest, stable, x86_64-apple-darwin) (push) Has been cancelled
Build & Test / clippy (linux, ubuntu-latest, stable, x86_64-unknown-linux-musl) (push) Has been cancelled
Build & Test / clippy (macos, macos-latest, stable, x86_64-apple-darwin) (push) Has been cancelled
Build & Test / rustfmt (push) Has been cancelled
* feat: use clap & derive for options, manpage & completions
* clippy & fmt
* fix: correctly handle errors
* fix: disable doctest
* fix: readd replstr
* fix: reserve --tmux until it is implemented
* explicit panic messages for history files
* fix after merge
---------
Co-authored-by: LoricAndre <loric.andre@pm.me>
2024-11-20 17:01:08 +01:00
sisrfeng
3ebe82e6bf
Update sk-tmux.1
2023-05-01 19:08:00 +08:00
sisrfeng
db8e0be287
Update sk.1
2023-05-01 19:07:39 +08:00
Bruno Inec
4036ac78b8
Update --tiebreak options with length
2021-02-16 18:00:09 +01:00
Jinzhou Zhang
1cf8e4c8d6
fix #365 : new option --show-cmd-error
...
Currently the invoked command would fail silently. Sometimes this might
not be desirable because we have no idea whether it outputs nothing or
died.
New option `--show-cmd-error` is designed to send the error message and
display them as items.
It's somehow a trade-off choice that I don't want to modify the
current library interface. Also it's not made default because there
might be several fail invocation before we complete the whole
"cmd-query".
2020-10-24 21:30:49 +08:00
Jinzhou Zhang
0bd1b72ec0
doc for preview-window scroll offset
2020-10-20 16:29:04 +08:00
Jinzhou Zhang
9368bb00b7
fix #328 : --no-clear-if-empty to preserve selection
2020-10-18 11:18:35 +08:00
Jinzhou Zhang
03b3e08f6c
fix #309 : support pre-selection
...
- pre-select-n: select first `n` items
- pre-select-pat: select items that matches regex
- pre-select-items: select items from a preset
- pre-select-file: select items from a preset that's loaded from file
2020-10-17 17:53:55 +08:00
Jinzhou Zhang
65e0326f71
implement --sync
2020-10-16 08:39:07 +08:00
Jinzhou Zhang
4a354cc652
support --exit-0
2020-10-15 22:51:31 +08:00
Jinzhou Zhang
f5c36fa1d4
fix #218 : implement --select-1
2020-10-15 22:51:07 +08:00
Jinzhou Zhang
f1a898abe6
feature: support skip-to-pattern
2020-10-14 21:59:03 +08:00
Jinzhou Zhang
e3f7986553
fix #324 : support option --no-clear
2020-10-05 16:46:08 +08:00
Jinzhou Zhang
cc7fb2ceb2
implement --no-sort option
...
Note that the `--tac` semantic was changed to "reverse the order of the
search result".
2020-06-26 22:51:01 +08:00
Jinzhou Zhang
bfd5958f11
fix #248 : Implement '{n}' placeholder expression
2020-03-09 10:23:49 +08:00
Jinzhou Zhang
62b6b2feb0
Fix #276 : add new action if-non-matched
...
- the action will be executed if the current matched item is `0`
- Note that even if the reader or matched is not completed yet, the
action would still be executed if the current matched item is `0`
2020-03-01 12:44:11 +08:00
Jinzhou Zhang
d956d3c020
Fix #63 : history for query and command query
...
Via option `--history` and `--cmd-history`
2020-02-25 13:23:31 +08:00
Jinzhou Zhang
753be09d35
[man] add option algo and case
2020-02-25 09:28:40 +08:00
Jinzhou Zhang
367683ffa6
Revert "Fix #233 : enable mouse support for preview window"
...
This reverts commit 352a585049 .
Ref: #235 . The mouse support is not correctly implemented, revert for
later changes
2020-01-02 14:44:25 +08:00
Jinzhou Zhang
352a585049
Fix #233 : enable mouse support for preview window
2019-11-28 21:49:59 +08:00
Jinzhou Zhang
09ec460a95
[key] add home:begining-of-line to default
2019-07-17 22:59:57 +08:00
Jinzhou Zhang
d67e773b19
[action/delete-charEOF] simplify implementation
2019-06-08 11:12:32 +08:00
Jinzhou Zhang
41abc48ab1
[action] append-and-select
...
For append the current query to the item list and select the item (if
multiple selection is enabled)
2019-06-08 10:50:03 +08:00
Jinzhou Zhang
034f954353
[action] add if-query-empty and if-query-not-empty
2019-06-04 10:19:11 +08:00
Jinzhou Zhang
feac695973
fix #163 : support customizing colors for query
2019-05-31 09:41:51 +08:00
Jinzhou Zhang
6689dcd6ca
[theme] accept fzf compatible color string
2019-04-30 13:20:59 +08:00
Jinzhou Zhang
cce01c5cf3
fix #159 cq for command query in execute/preview
2019-04-07 08:40:05 +08:00
Jinzhou Zhang
52bc6b6896
fix #159 {q} for query in preview/execute cmd
2019-04-05 23:25:30 +08:00
Jinzhou Zhang
280993198f
support more alt keys
2019-03-23 23:25:57 +08:00
Jinzhou Zhang
2ab727dbcb
[doc] remove mouse events
2019-03-23 22:01:33 +08:00
Jinzhou Zhang
5eb350e705
[main] add filter mode
...
The "filte" mode acts like grep. It will not start the interactive
finder, but print out "<score>\t<item>" to standard output.
2019-03-23 13:30:51 +08:00
Jinzhou Zhang
d83a77ff0b
[preview] add actions to move the contents
2019-03-22 10:40:42 +08:00
Jinzhou Zhang
67252d6c51
[man] copy and modified fzf's man document
2019-03-21 22:24:14 +08:00