Consider supporting `s` flag in the nth template
Open
enhancement
- Dominant language
- Go
- Stars
- 83k
- Forks
- 2.9k
- Avg merge
- 17h 8m
- Merged PRs (30d)
- 10
Description
Automatically removing trailing whitespaces is not always desirable as pointed out int
https://github.com/junegunn/fzf/issues/1012#issuecomment-2696454892
Should we support `s` flag in nth templates? e.g. `--with-nth '{s1} {2}'`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing how nth templates are parsed and how trailing whitespace is currently removed, using the `--with-nth '{s1} {2}'` example as the target behavior. Done means an `s` flag can control preservation of trailing whitespace without changing existing nth template behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100