Commit Graph
1573 Commits
Author SHA1 Message Date
Joe Lim 6402bafb9a refactor: Move gEscapeCode to where it is used (#2285) 2025-12-02 18:23:11 +11:00
Joe Lim 4ee121fb56 refactor: simplify for loop (#2283) 2025-12-02 01:38:46 +11:00
Joe Lim 6b92294a29 test: Add permString function (#2282) 2025-12-02 00:45:56 +11:00
Joe Lim e17504b7ce Prepare for r39 release (#2281)
* Backout tcell updates

* Prepare for r39 release
r39
2025-12-02 00:28:50 +11:00
dependabot[bot] fad7975e5e Bump github.com/gdamore/tcell/v2 from 2.12.0 to 2.12.1 (#2277) 2025-11-27 08:45:55 +01:00
dependabot[bot] 59589a7cde Bump github.com/gdamore/tcell/v2 from 2.11.0 to 2.12.0 (#2276)
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) from 2.11.0 to 2.12.0.
- [Release notes](https://github.com/gdamore/tcell/releases)
- [Changelog](https://github.com/gdamore/tcell/blob/main/CHANGESv2.md)
- [Commits](https://github.com/gdamore/tcell/compare/v2.11.0...v2.12.0)

---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
  dependency-version: 2.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-25 20:38:51 +01:00
dependabot[bot] cc5bf4ae7b Bump github.com/gdamore/tcell/v2 from 2.10.0 to 2.11.0 (#2275)
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/gdamore/tcell/releases)
- [Changelog](https://github.com/gdamore/tcell/blob/main/CHANGESv2.md)
- [Commits](https://github.com/gdamore/tcell/compare/v2.10.0...v2.11.0)

---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
  dependency-version: 2.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 22:17:47 +01:00
dependabot[bot] bc7161d4e8 Bump github.com/gdamore/tcell/v2 from 2.9.0 to 2.10.0 (#2271) 2025-11-23 18:38:41 +01:00
dependabot[bot] 1c2484c782 Bump actions/checkout from 5 to 6 (#2272) 2025-11-23 18:37:09 +01:00
CatsDeservePets 91ebcbc289 Update CHANGELOG.md
Remove note about directory sorting in reverse order.
2025-11-18 22:52:21 +01:00
CatsDeservePets 6e804b1ade Use ls-style permission strings (#2270) 2025-11-18 01:55:33 +01:00
Joe Lim 5749c9cd93 Order directories first when using reverse sort (#2269)
* Order directories first when using reverse sort

* Update `CHANGELOG.md`
2025-11-18 10:58:08 +11:00
CatsDeservePets c320102865 Fix formatting in README.md
- Follow-up to: https://github.com/gokcehan/lf/pull/2265
2025-11-15 06:00:28 +01:00
CatsDeservePets 568db57695 Remove outdated community links from README.md (#2265) 2025-11-15 05:43:21 +01:00
CatsDeservePets 9a091a2562 Remove deprecated sixel option (#2263) 2025-11-14 15:44:59 +01:00
Joe Lim 540d8ec9b9 Update CHANGELOG.md (#2261) 2025-11-13 12:15:20 +11:00
Joe Lim 3f46fba85b Alternate implementation for matching setlocal path (#2259)
* Alternate implementation for matching setlocal

* Handle escaped paths
2025-11-12 09:29:31 +01:00
dependabot[bot] 64081886c3 Bump golang.org/x/term from 0.36.0 to 0.37.0 (#2260) 2025-11-12 07:55:35 +01:00
Carlo Teubner 8da478bb86 Check errors and enable errcheck in lint config (#2242) 2025-11-10 10:17:18 +01:00
dependabot[bot] b6535060a6 Bump golangci/golangci-lint-action from 8 to 9 (#2257) 2025-11-10 03:28:21 +01:00
dependabot[bot] 3f261aa389 Bump golang.org/x/sys from 0.37.0 to 0.38.0 (#2258) 2025-11-10 03:28:05 +01:00
CatsDeservePets 58473275d5 Add completions for setlocal (#2254) 2025-11-08 00:56:51 +01:00
CatsDeservePets 40e7fb8e9e Allow relative paths for setlocal (#2253) 2025-11-07 23:58:59 +01:00
CatsDeservePets 0283b2a71a Hide already typed keys inside showbinds menu (#2249) 2025-11-07 02:08:52 +01:00
Joe Lim c19e3a68c1 Fix typo (#2250) 2025-11-06 23:56:27 +11:00
CatsDeservePets e45412d363 Add OSC 8 support (#2243)
* Add `OSC 8` support

* Rename functions

* Update tests

* Support grouped links

* Update `CHANGELOG.md`

* Move terminal sequence parsing to new file
2025-11-03 15:55:29 +01:00
CatsDeservePets 830f072961 Fix typo (#2248) 2025-11-02 23:20:31 +01:00
Joe Lim df06e7250e Display errors in config files (#2246)
* Display errors in config files

* Update `CHANGELOG.md`

* `clearmaps` should be a silent command
2025-11-01 18:52:15 +11:00
Joe Lim 5cdb6edd93 Fix implementation of silent commands (#2245)
* Fix implementation of silent commands

* Update `CHANGELOG.md`
2025-11-01 18:34:09 +11:00
Joe Lim 95711c39bf Deduplicate preload updates (#2244) 2025-11-01 18:03:26 +11:00
Joe Lim 5ae9a4cd81 Debounce resize triggers when preloading (#2240)
* Debounce resize triggers when preloading

* Clear all previews in cache
2025-10-30 13:52:29 +11:00
Carlo Teubner 49984bb606 .github: staticcheck-action → golangci-lint-action (#2238)
golangci-lint bundles many Go linters
(https://golangci-lint.run/docs/linters/). For now, we are going with its
default set of linters, which includes staticcheck, but with the
errcheck linter explicitly excluded because it generates a lot of lints;
I plan to address those and add errcheck in a subsequent contribution.
2025-10-29 11:23:52 +11:00
Joe Lim e158c344d2 Fix preload crash (#2237) 2025-10-28 19:01:24 +11:00
Joe Lim fc2b2f42a2 Avoid deadlock when preloading (#2236)
* Fix preload deadlock

* Add experimental flag
2025-10-28 15:50:04 +11:00
Joe Lim 928bf9e3bd Refactor previewable logic (#2235) 2025-10-28 15:27:59 +11:00
Carlo Teubner fc4b3637bb Miscellaneous tweaks and fixes (#2223)
* Miscellaneous tweaks and fixes

Mostly these were found by running golangci-lint with a bunch of linters
(more than the default set) enabled.

* fmt.Fprint -> fmt.Fprintln where possible

* Remove "nolint:staticcheck" for now
2025-10-28 15:10:32 +11:00
Joe Lim b12cb33918 Prevent window height from being negative (#2232) 2025-10-27 20:31:00 +11:00
Joe Lim 7776e73334 Fix check for invalid filters (#2231)
* Fix check for invalid filters

* Update `CHANGELOG.md`
2025-10-27 19:20:21 +11:00
dependabot[bot] 887da5d5e4 Bump actions/download-artifact from 5 to 6 (#2230)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-27 16:58:11 +11:00
dependabot[bot] 0e3912b151 Bump actions/upload-artifact from 4 to 5 (#2229)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-27 16:57:55 +11:00
CatsDeservePets 765a331977 Explicitly hide mode in showbinds menu (#2228) 2025-10-26 21:55:14 +01:00
CatsDeservePets 00ee9ee81a Update CHANGELOG.md (#2227) 2025-10-26 09:54:20 +01:00
CatsDeservePets ff169a80b9 Hide mode when listing single-mode binds (#2226) 2025-10-26 09:43:04 +01:00
Joe Lim d8a23be926 Add option for preloading file previews (#2206)
* Initial commit

* Add documentation

* Fix nav volatile preview state

* Use `previewer` for both preloading and previewing

* Generate documentation

* Update `CHANGELOG.md`
2025-10-24 13:26:34 +11:00
CatsDeservePets 56fd6c27ba Add image to README.md (#2222)
Add a new image for showcasing features.
2025-10-23 23:40:10 +02:00
Joe Lim 2563e6bef2 Revert "Add documentation"
This reverts commit 56489403f6.
2025-10-23 13:49:39 +11:00
Joe Lim 56489403f6 Add documentation 2025-10-22 13:04:42 +11:00
Joe Lim a7f7e84e81 Handle nav resizes (#2218)
* Handle nav resizes

* Update `CHANGELOG.md`
2025-10-21 21:46:19 +11:00
Joe LimandCatsDeservePets 7b6b6da100 Add ruler file for customizing the ruler (#2186)
* Add ruler file for customizing the ruler

* Update `CHANGELOG.md`

* Show ruler errors instead of logging them

* Allow multiple sections

* Show syntax errors for ruler file

* Add line percentage

* Add lower/upper functions

* Add back truncation

* Use fmt options

---------

Co-authored-by: CatsDeservePets <145048791+CatsDeservePets@users.noreply.github.com>
2025-10-21 20:04:05 +11:00
Joe Lim 5d93764c79 Fix CHANGELOG.md (#2217) 2025-10-21 17:22:57 +11:00