Joe Lim and veltza
af62d1656f
perf: change preload to use stack instead of queue ( #2291 )
...
* perf: change preload to use stack instead of queue
* Improve order of preloading
Co-authored-by: veltza <106755522+veltza@users.noreply.github.com >
---------
Co-authored-by: veltza <106755522+veltza@users.noreply.github.com >
2025-12-15 11:42:50 +11:00
Joe Lim
4575ed0cbf
fix: add missing init check when sorting ( #2303 )
2025-12-13 17:31:20 +11:00
Joe Lim
acb85d65c8
refactor: avoid storing current preview separately ( #2300 )
2025-12-12 16:59:32 +11:00
Joe Lim
18b6077248
fix: write server response only for remote clients ( #2290 )
...
* fix: write server response only for remote clients
* Update `CHANGELOG.md`
2025-12-10 14:10:46 +11:00
Joe Lim
7727b28fbe
fix: allow skipped previews to be reloaded ( #2292 )
...
* fix: allow skipped previews to be reloaded
* Update `CHANGELOG.md`
2025-12-10 13:49:54 +11: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
Carlo Teubner
8da478bb86
Check errors and enable errcheck in lint config ( #2242 )
2025-11-10 10:17:18 +01: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
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
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
7776e73334
Fix check for invalid filters ( #2231 )
...
* Fix check for invalid filters
* Update `CHANGELOG.md`
2025-10-27 19:20:21 +11: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
Joe Lim
a7f7e84e81
Handle nav resizes ( #2218 )
...
* Handle nav resizes
* Update `CHANGELOG.md`
2025-10-21 21:46:19 +11:00
Joe Lim
00da40b9cd
Refactor directory sorting code ( #2177 )
...
* Implement natural sorting
* Small refactor of filtering code
* Refactor sorting
* Refactor dirfirst as well
* reword
* reword2
2025-09-20 18:08:39 +10:00
Joe Lim
d079cc8719
Fix copy progress bug when copying files with 0 size ( #2130 )
...
* Fix copy progress when copying files with 0 size
* typo
* Update `CHANGELOG.md`
2025-09-04 14:44:29 +10:00
Joe Lim
04afd78e65
Refactor dir.sort function ( #2115 )
...
* Refactor filtering code in `dir.sort` function
* Refactor sorting code in `dir.sort` function
* Fix bug
2025-08-26 14:16:54 +10:00
Joe Lim
e60c055be3
Remove experimental locale feature ( #2111 )
2025-08-26 01:41:01 +10:00
Joe Lim
06955cbacc
Remove dircache option ( #2110 )
2025-08-25 23:06:30 +10:00
Joe Lim
13da770af6
Implement builtin support for sixel images, allow combining with text ( #2109 )
...
* Add function for reading lines in file
* Implement sixel drawing
* Remove sixel option
* Fix linting error
2025-08-25 22:19:14 +10:00
Joe Lim
f716ce1b0f
Show progress immediately when copying files ( #2093 )
2025-08-12 14:20:19 +10:00
Joe Lim
56c28828f2
Fix multiple errors when moving or copying ( #2089 )
...
* Fix multiple errors when moving
* Fix multiple errors when copying
2025-08-08 13:25:03 +10:00
Joe Lim
b38693f1c9
Fix missing errcount when moving cross devices fails ( #2085 )
...
* Fix missing errcount when moving cross devices fails
* Included count in error message
2025-08-08 11:46:07 +10:00
Joe Lim
edc5d977cd
Replace save buffer with clipboard struct ( #2082 )
2025-08-07 19:27:17 +10:00
Joe Lim
88a599643d
Pass all files for on-load hook command ( #2077 )
2025-08-06 19:23:40 +10:00
Joe Lim
0a05a7106d
Dircounts should have a width of 5 when displaying ( #2072 )
2025-07-31 17:12:01 +10:00
CatsDeservePets and Joe Lim
ab662e6f33
Add filtermethod and searchmethod options ( #2058 )
...
* Add `filtermethod` and `searchmethod` options
* Rename `re` to `regex`
* Remove `globfilter` and `globsearch` options
* Add completions for `filtermethod` and `searchmethod`
* Update documentation
* Remove unnecessary if statement
* Fix unrelated typo
* Put options in alphabetical order
* Fix typo in documentation
* Rename variable for consistency
---------
Co-authored-by: Joe Lim <50560759+joelim-work@users.noreply.github.com >
2025-07-26 21:25:45 +10:00
Joe Lim
5b2d5ad99d
Support wrapping while in Visual mode ( #2056 )
2025-07-20 19:54:30 +10:00
Joe Lim
041dfcc073
Revert "Respect symlinks when tagging files ( #1997 )" ( #2055 )
...
This reverts commit fe3a97c5d0 .
2025-07-20 19:21:13 +10:00
CatsDeservePets
f27d82b391
Silence gopls hints ( #2053 )
2025-07-20 12:05:27 +10:00
Joe Lim
93400c11a0
Misc improvements for nav.checkDir ( #2050 )
...
* Misc improvements to `nav.checkDir`
* Fix case where `dircache` is disabled
* More fixes
2025-07-19 16:04:44 +10:00
Joe Lim
c31b92491f
Automatically load dircounts after enabling it ( #2049 )
2025-07-19 14:35:13 +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
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
Joe Lim
e47b2fda08
Fix crash when pasting into directory without permissions ( #2024 )
2025-07-02 11:08:24 +10:00
CatsDeservePets
e47600e428
Add sorting by custom column ( #2019 )
2025-06-26 11:12:58 +10:00
CatsDeservePets and Joe 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
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
7158e09033
Prevent negative index for bottom in empty dir ( #1986 )
2025-05-12 14:43:39 +10:00
Joe Lim
0df0c0f5ff
Simpler implementation of dirpreviews ( #1958 )
2025-04-10 15:34:13 +10:00
Joe Lim
0e66d02746
Use clear for clearing maps ( #1923 )
2025-02-23 19:56:50 +11:00