Commit Graph
1375 Commits
Author SHA1 Message Date
Joe Lim c31b92491f Automatically load dircounts after enabling it (#2049) 2025-07-19 14:35:13 +10:00
dependabot[bot] f2d5d08952 Bump golang.org/x/text from 0.26.0 to 0.27.0 (#2036)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.26.0 to 0.27.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.26.0...v0.27.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-version: 0.27.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-07-19 13:18:19 +10:00
dependabot[bot] 2788bc9b7f Bump golang.org/x/term from 0.32.0 to 0.33.0 (#2038)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.32.0 to 0.33.0.
- [Commits](https://github.com/golang/term/compare/v0.32.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-version: 0.33.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-07-19 13:08:42 +10:00
CatsDeservePets 87c994b9de Support btime in sortby and info (#2042)
* Add support for `btime` in `sortby` and `info`

* Update documentation

* Minor design improvements
2025-07-19 13:06:34 +10:00
CatsDeservePets 4758ef621c Respect dircounts when sorting by size (#668) (#2025)
* Respect `dircounts` when sorting by size

* Avoid mixing file sizes and counts when sorting by size

* Update documentation for sorting
2025-07-19 13:01:37 +10:00
Joe Lim e5c2cc44d8 Prepare for r36 release (#2044) r36 2025-07-18 11:52:31 +10:00
CatsDeservePets bfea67dec6 Don't export nkeys and vkeys as environment variables (#2039) 2025-07-18 01:47:30 +10:00
CatsDeservePets f40c626c4d Additions to visual-mode (#2035)
* Add `visual-unselect` command

* Add `fv` environment variable
2025-07-08 08:46:26 +10:00
CatsDeservePets c2049e05c2 Fix setExpr for visualfmt and documentation (#2033)
* Fix documentation for visual commands

* Fix missing `visualfmt`
2025-07-07 10:17:38 +10:00
Joe Lim 7fd12a2a70 Capitalize modes in CHANGELOG.md and documentation (#2031) 2025-07-05 15:11:16 +10:00
Joe Lim 397f75e4a5 Add CHANGELOG.md (#2027) 2025-07-05 11:35:49 +10:00
CatsDeservePets cb8026d627 Add visual-mode (#2021)
- Add functionality for visually selecting files
- Add keymap for Visual mode, and supporting `nmap` and `vmap` commands
- Add mode column for `maps` command, also add `nmaps` and `vmaps` commands
- Add `visualfmt` option for configuring appearance for the visual selection
- Add `%m/%M` placeholders for displaying the mode
- Add marker indicating the number of visually selected files in the ruler
- Add `visual` as an identifier when exporting `lf_mode`
- Remove experimental `invert-below` command
2025-07-05 11:33:45 +10:00
veltza bf314a32f4 Fix broken sixels in tmux (#2030)
Fixes #2026
2025-07-04 22:21:27 +10:00
dependabot[bot] 404050af30 Bump dominikh/staticcheck-action from 1.3.1 to 1.4.0 (#2029)
Bumps [dominikh/staticcheck-action](https://github.com/dominikh/staticcheck-action) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/dominikh/staticcheck-action/releases)
- [Changelog](https://github.com/dominikh/staticcheck-action/blob/master/CHANGES.md)
- [Commits](https://github.com/dominikh/staticcheck-action/compare/v1.3.1...v1.4.0)

---
updated-dependencies:
- dependency-name: dominikh/staticcheck-action
  dependency-version: 1.4.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-07-04 13:24:15 +10:00
Joe Lim e47b2fda08 Fix crash when pasting into directory without permissions (#2024) 2025-07-02 11:08:24 +10:00
CatsDeservePets 0639e71171 Update examples for on-load (#2020) 2025-06-26 16:09:11 +10:00
CatsDeservePets e47600e428 Add sorting by custom column (#2019) 2025-06-26 11:12:58 +10:00
Joe Lim 017951fd6b Bump pandoc (#2017) 2025-06-24 12:02:11 +10:00
Joe Lim 35b2764e27 Update on-load example in documentation (#2016) 2025-06-21 13:57:19 +10:00
Joe Lim 44e716d2f1 Ignore updates for log file when watch is enabled (#2015)
* Ignore updates for log file when `watch` is enabled

* Move check earlier

* Ignore write event only

* fix message
2025-06-20 20:58:56 +10:00
Joe Lim c3b184fc2e Apply addcustomfilter for hidden files (#2014) 2025-06-20 20:04:20 +10:00
Joe Lim 8c5648ab33 cleanup (#2013) 2025-06-20 19:29:43 +10:00
CatsDeservePetsandJoe Lim 17971fd66e Add addcustominfo command (#2012)
Co-authored-by: Joe Lim <50560759+joelim-work@users.noreply.github.com>
2025-06-20 18:02:09 +10:00
CatsDeservePets ff0c7f1c96 Add on-load command (#2010) 2025-06-20 17:36:57 +10:00
Kian-Meng Ang b76d2546e1 Fix typos (#2008)
Found via `typos --hidden --format brief`
2025-06-14 09:47:32 +10:00
Joe Lim 249264b4cd Better fix for reload if current path is renamed (#2005) 2025-06-07 20:12:31 +10:00
Joe Lim 320322c5cd Revert "Reload if any component in current path is renamed (#1982)" (#2004)
This reverts commit 12f235fac9.

cc #2003
2025-06-07 18:09:12 +10:00
dependabot[bot] 0da0d79ede Bump golang.org/x/text from 0.25.0 to 0.26.0 (#2001)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.25.0 to 0.26.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.25.0...v0.26.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-version: 0.26.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-06-06 14:00:34 +10:00
Joe Lim 399b98da93 Fix statline overwrite during shell-pipe command (#2002) 2025-06-06 13:58:46 +10:00
Joe Lim fe3a97c5d0 Respect symlinks when tagging files (#1997) 2025-05-30 15:15:30 +10:00
Joe Lim 7507be4d04 Fix missing tempmarks after sync command (#1996) 2025-05-29 17:00:03 +10:00
Joe Lim 2494b3f632 Fix quoting of lf environment variable for pwsh (#1990)
* Fix quoting of `lf` environment variable for pwsh

* Simplify lfrc

* typo

* Remove redundant/irrelevant pwsh configs
2025-05-17 19:30:37 +10:00
CatsDeservePets b25976cef7 Update lfrc.ps1.example (#1989) 2025-05-17 18:45:33 +10:00
Joe Lim 4666a0b875 Simplify percentage calculation (#1987) 2025-05-12 19:29:00 +10:00
Joe Lim 7158e09033 Prevent negative index for bottom in empty dir (#1986) 2025-05-12 14:43:39 +10:00
Joe Lim e7ea6c6d0d Add scroll percentage to rulerfmt option (#1985) 2025-05-12 14:28:26 +10:00
Joe Lim fea705ef7f Fixes for new sixel implementation (#1983) 2025-05-11 13:16:58 +10:00
Joe Lim 12f235fac9 Reload if any component in current path is renamed (#1982) 2025-05-11 12:39:09 +10:00
Joe Lim 62cbe0b6b5 Apply preserve mode for directories (#1981) 2025-05-11 10:40:20 +10:00
Joe Lim 84c57cc58a Apply preserve timestamps for directories (#1979)
* Refactor preserve functionality

* Keep changes minimal
2025-05-11 10:25:57 +10:00
dependabot[bot] 11b0d4e238 Bump golang.org/x/text from 0.24.0 to 0.25.0 (#1974)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-version: 0.25.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-05-07 11:11:12 +10:00
dependabot[bot] f175d7ed30 Bump golang.org/x/term from 0.31.0 to 0.32.0 (#1973)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.31.0 to 0.32.0.
- [Commits](https://github.com/golang/term/compare/v0.31.0...v0.32.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-version: 0.32.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-05-07 10:49:12 +10:00
yarikandyarik ce13438ab4 fix "slice bounds out of range" in cmd-delete-word-back (#1976)
Co-authored-by: yarik <dazzywi@github.com>
2025-05-07 10:46:34 +10:00
Joe Lim 6616c9c119 Restrict mode prefixes for cmd-history (#1971) 2025-04-28 13:36:59 +10:00
Joe Lim 40770d7dee cleanup (#1970) 2025-04-28 13:07:04 +10:00
KuchteqandMariusz Kuchta 7a89808688 Make sixel output flicker free (#1943)
* Make sixel output flicker free

* Address pr comments

* Lock regions based on sixel dimensions

This fixes issues related to clearing the previous sixel data

* name changes and extra error handeling

* Apply force clearing changes and change log messages

* Delete missleading comment

* check pixel dimensions

* correct cell dimensions checking

* Add force clearing on image update

---------

Co-authored-by: Mariusz Kuchta <mariusz@kuchta.dev>
2025-04-28 12:26:27 +10:00
Joe Lim 3d205f05e3 Prepare for r35 release (#1967) r35 2025-04-25 11:23:45 +10:00
Joe Lim 1cb9e9d14a Add tty-write command (#1961)
This command offers a synchronized way to write to /dev/tty.
2025-04-13 11:14:00 +10:00
Joe Lim 0df0c0f5ff Simpler implementation of dirpreviews (#1958) 2025-04-10 15:34:13 +10:00
Joe Lim 3d5a418c6c Use Screen.Clear for clearing the screen (#1957) 2025-04-09 21:51:05 +10:00