Commit graph

21 commits

Author SHA1 Message Date
Loric ANDRE 475dd515e5 fix: ignore missing files for ssh completion (closes #1054) 2026-04-14 11:52:23 +02:00
LoricAndre 987d2a5ca7
feat: add multiline item rendering (#999)
* feat: add multiline item rendering

* chore: generate completions & manpage

* chore: use newline as default for multiline when read0 is set

* chore: generate completions & manpage

* chore: add `highlight-line'

* chore: generate completions & manpage

* feat: use multiline in history widgets

* feat: better snap tests

* feat(ci): show snap failures

* fix(ci): cross platform tests

---------

Co-authored-by: Skim bot <skim-bot@skim-rs.github.io>
2026-03-30 13:57:09 +02:00
Loric ANDRE 65c2dcde11 fix: trim whitespace in zsh hist widget (closes #1019) 2026-03-29 23:14:44 +02:00
Loric ANDRE c0a9be6b5f fix(keybindings): make sure we use the correct filtering fields 2026-03-23 23:19:10 +01:00
LoricAndre fa003bf7c5
feat(shell): colored history widgets & remove perl completely (#994)
* feat(shell): colored history widgets & remove perl completely

* docs: add variables to top doc

* chore: nitpick
2026-03-02 13:56:36 +00:00
Loric ANDRE e4dc4d02f0 feat: add --shell-bindings flag to get bindings at runtime 2026-01-15 15:07:25 +01:00
peccu 59f4f48395
[shell] make awk regex compatible with macOS default awk (#845)
Unlike GNU awk (gawk), the default awk on macOS does not support \s, making the previous expression not truly equivalent to the original perl command. This change replaces the entire first column with an empty string, achieving the same substitution effect in a portable way.

refs https://github.com/junegunn/fzf/pull/2906
2025-08-23 23:49:50 +02:00
LoricAndre 8df581b122
fix(shell): remove duplocate tmux height arg fixes #776 (#778)
Co-authored-by: LoricAndre <loric.andre@pm.me>
2025-05-20 22:15:12 +02:00
LoricAndre b10acf48eb
fix(shell): fix zsh tmux args in key bindings (#777)
Co-authored-by: LoricAndre <loric.andre@pm.me>
2025-05-20 22:08:45 +02:00
LoricAndre f87ff6740b
feat(shell): readd completions (#726) (#739)
* feat(shell): readd completions (#726)

* chore: generate completions & manpage

* chore(shell): force reset colors & cursor

* docs(shell): add docs for shell modules (closes #315)

* chore: generate completions & manpage

* docs(shell): add docs on how to enable (closes #292)

---------

Co-authored-by: LoricAndre <loric.andre@pm.me>
Co-authored-by: Skim bot <skim-bot@skim-rs.github.io>
2025-04-27 23:12:13 +02:00
LoricAndre d134e8d31a feat!(zsh): sort history items by timestamp 2025-04-25 20:12:06 +02:00
LoricAndre bd73f62112
fix: remove index tiebreak from shell bindings (#611)
* fix: remove index tiebreak from shell bindings until the opetion is readded

* Update key-bindings.fish

* Update key-bindings.zsh
2024-11-24 15:41:11 +01:00
Jakub Jirutka 054d76048f
[shell] replace perl with awk in key-bindings.zsh and include date or time if available (#449)
* [shell] replace perl with awk in key-bindings.zsh

Unlike awk, which is even defined in POSIX, perl is not pre-installed
on all *nix systems. This awk command is functionally equivalent to
the original perl command.

* [shell] include date or time in Zsh history if available

If extended_history is enabled, the history widget will display:

     12  2022-04-02   echo "older command"
    123  today'16:30  echo "today's command"
2024-11-09 22:15:59 +01:00
Timm Behner 15afdcdf08 Fix issue from merge request #321 2020-10-21 13:28:47 +02:00
Jinzhou Zhang 6fdbe38f7a sync shell scripts with fzf(6c9adea) 2020-10-18 11:41:50 +08:00
wucke13 ddf129c085 fix annoyance through ZSH's REPORTTIME 2020-06-15 00:18:47 +02:00
Jinzhou Zhang 242b3f0f7f [shell] sync fzf's latest shell bindings 2020-03-02 09:58:02 +08:00
Jinzhou Zhang dcfe42dadf fix #104 ignore ctrl-r bindings in history widgets
The script taken from fzf binds ctrl-r to 'toggle-sort', but skim bind
ctrl-r to 'rotate mode' by default and does not support toggle sort.
2018-11-10 09:54:36 +08:00
Jinzhou Zhang 0431f69af9 [shell] update to fzf's latest scripts(20181022) 2018-10-22 22:05:58 +08:00
Jinzhou Zhang 5cc00fa6f2 add option --tac for reverse the order of input
for example, previously it is from line 1 ~ line 9, now skim will treat
it as line 9 ~ line 1.
It is done by reverse the criteria `index` to `-index`.
2017-09-20 18:01:36 +08:00
Jinzhou Zhang 6b3139848d add shell bindings (copied from fzf and modified) 2017-09-18 14:51:36 +08:00