Commit Graph
86 Commits
Author SHA1 Message Date
CatsDeservePets c7b59d27ce Capitalize modes in code comments and documentation (#2054)
* Capitalize modes in documentation

* Capitalize modes in code comments
2025-07-20 12:08:24 +10:00
Joe Lim 82a983d934 Separate config and data files for Windows (#2051) 2025-07-19 21:32:12 +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
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
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
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
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
Joe Lim e7ea6c6d0d Add scroll percentage to rulerfmt option (#1985) 2025-05-12 14:28:26 +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
MahouShoujoMivutilde 1878faa942 Implement files query to export files in the current directory as (#1949)
presented in lf (including filter/sorting)

`lf -remote "query $id files"`

This version updates `files` list only before running shell commands.
2025-04-09 16:37:55 +10:00
Joe Lim f9813744f7 Add dircounts to setlocal options (#1920)
* Remove plural from setlocal variable names

* Add `dircounts` for `setlocal`

* Update documentation

* Fix failing test
2025-02-19 10:43:15 +11:00
Joe Lim 2375b651ce Mark locale feature as experimental (#1892) 2025-01-15 21:48:17 +11:00
Joe Lim ce3dbea2ae Enable autoquit by default (#1839) 2024-11-06 12:21:39 +11:00
Joe Lim 670343a23f Add on-init hook command (#1838) 2024-11-06 12:12:12 +11:00
Joe Lim dda8e88aaf Cleanup doc (#1823) 2024-11-02 00:28:54 +11:00
Joe Lim 78413a6c9e cleanup (#1816) 2024-10-22 23:54:49 +11:00
yarikandyarik 6cd51210e3 Add option to hide listBinds when pressing keys (#1815)
* add drawbinds option

* rename drawbinds to showbinds and change its place in docs

* minor changes in wording of showbinds option

* fix missing newlines

---------

Co-authored-by: yarik <dazzywi@github.com>
2024-10-22 23:45:48 +11:00
Oscar Wallberg 1c56620f57 feat: add mode, user and group info parameters (#1799)
* feat: add mode, user and group info parameters

* fix: correct function names

* fix: change mode to perm
2024-09-14 00:25:26 +10:00
Joe Lim ddea7bff1b Remove deprecated ruler option (#1766)
* Remove deprecated `ruler` option

* Remove unused variable
2024-07-08 10:09:13 +10:00
Joe Lim e9faf966a0 Replace hidecursorinactive with hook commands (#1763)
* Replace `hidecursorinactive` with hook commands

* Remove `focusreport` setting
2024-07-01 12:17:22 +10:00
Joe Lim adaf464fea Update documentation (#1755) 2024-06-22 16:38:52 +10:00
Daniel Zhang 6cabb0e8e4 Support icon color (#1674)
* Support icon color

* Rename variables

* Test for readArrays

* Add doc and examples for icon color
2024-04-20 21:41:37 +02:00
J-KappesandGökçehan Kara 647fa469fb Rounded Corners (#1653)
* add option to draw outer corners rounded

* gofmt

---------

Co-authored-by: Gökçehan Kara <gokcehankara@gmail.com>
2024-04-07 15:36:54 +02:00
Catalin Ancutei f507b618c9 Added globfilter command (#1650)
* Added globfilter command

* Kept the alphabetical order and applied other sugestions

* Used pandoc to update docs
2024-04-07 15:36:17 +02:00
lorentzforcesandGökçehan Kara 5b108037a3 Use symlink target for stat styling & icons (#566) (#1644)
* use symlink target for stat styling & icons (#566)

Support LS_COLORS/dircolors use of "target" for symlinks to select icons
and styles for them according to the target stat. This mainly applies to
directories - file name-based styles will still be based on the name of
the link, not its target. This mirrors `ls` behavior.

* remove unnecessary debugging and factor out parsePair in color parsing

* move conditional to switch block

* clarify ln target behavior in docs

* run gofmt on single file

---------

Co-authored-by: Gökçehan Kara <gokcehankara@gmail.com>
2024-04-07 15:35:46 +02:00
Joe Lim cf996263bb Export mode for use in scripting keybindings (#1594)
* Export mode

* Add pipe mode

* Add documentation
2024-02-12 10:27:57 +11:00
Joe Lim 8a14749154 Update generated documentation (#1580) 2024-01-18 14:51:04 +11:00
Christian Zangl 075caac3a9 Add hidecursorinactive option to indicate status when terminal loses focus (#965)
* Enable focus events through configuration by using focus (option) and on-ui-enter/on-ui-exit events.

* Revert doc

This reverts commit 77f113639f.

* Revert rune evt

This reverts commit 77f113639f.

* hidecursorinactive with tcell

* cleanup

* cleanup
2023-12-26 15:37:11 +01:00
Gökçehan Kara 9698ecddf1 use markdown for the documentation (#1474)
* add doc.md

* use h2 for doc sections

* use h3 for doc commands/options/vars

* use backticks instead of quotes in the doc

* merge multiple commands/options in the doc

* change header levels in the doc

* add man page sections to the doc

* remove extra spaces in headers in the doc

* add man and plain conversions of the doc

* update doc

* add missing flags to the doc

* replace the old documentation with the new one

* remove old doc files

* remove the doc instructions from CONTRIBUTING.md

* change the links to the doc

* shorten long links in the readme
2023-11-12 15:43:06 +01:00