Joe Lim
4f898cd1fa
Reduce logic when updating files
2024-04-04 21:42:30 +11:00
Joe Lim
76aacc708b
Avoid using multiple threads
...
Seems to cause issues if there are multiple threads and each one of them
is loading the same new file, in which case there is a race condition.
2024-04-04 17:16:45 +11:00
Joe Lim
ced735a187
Add chmod events
2024-04-02 10:58:14 +11:00
Joe Lim
bdc9ba0df7
Watch newly created directories
2024-03-31 23:01:58 +11:00
Joe Lim
ad38761a76
Set watches on startup too
2024-03-31 22:56:58 +11:00
Joe Lim
e9ff541c77
Set watches on cd instead of select
2024-03-31 22:47:38 +11:00
Joe Lim
4ec8ba5690
fix dircounts
2024-03-31 20:40:31 +11:00
Joe Lim
54c1c9c663
Remove test code
2024-03-31 20:26:10 +11:00
Joe Lim
7ce0756e22
Fix for dircounts
2024-03-30 21:09:46 +11:00
Joe Lim
574513adfb
Implement file changes
2024-03-30 20:43:08 +11:00
Joe Lim
20646bf31a
Implement directory changes
2024-03-30 19:57:25 +11:00
Joe Lim
7c3cfa8865
Add watch option
2024-03-30 19:29:15 +11:00
Joe Lim
1e10e95f4d
Revert "Trigger update after copy/move ( #1638 )" ( #1661 )
...
This reverts commit ddcd308614 .
2024-03-26 18:52:14 +11:00
dependabot[bot]
c9d28f6e9d
Bump dominikh/staticcheck-action from 1.3.0 to 1.3.1 ( #1658 )
...
Bumps [dominikh/staticcheck-action](https://github.com/dominikh/staticcheck-action ) from 1.3.0 to 1.3.1.
- [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.0...v1.3.1 )
---
updated-dependencies:
- dependency-name: dominikh/staticcheck-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 15:22:44 +11:00
Joe Lim
a1edda1f70
Clear only when cut succeeds ( #1652 )
2024-03-24 20:13:17 +01:00
valoq
ddcd308614
Trigger update after copy/move ( #1638 )
...
* trigger update after copy/move
* trigger refresh after returnign from shell
* add renew after returning from shell
* move file update
2024-03-24 20:12:47 +01:00
Michael Gallo
951795c789
Directories added to dirChan no longer trigger checkDir ( #1607 )
...
* Directories added to dirChan no longer trigger checkDir
removed unneeded blank line
* removed possibly looping checkReg call
2024-03-24 20:12:35 +01:00
dependabot[bot]
c19cc15079
Bump softprops/action-gh-release from 1 to 2 ( #1633 )
...
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release ) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
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>
2024-03-24 19:43:41 +01:00
Catalin Ancutei
4b076d199b
Fixed tags on windows ( #1646 )
...
* Fixed tags on windows
* Use the variable text directly in error message
2024-03-18 10:01:00 +11:00
Joe Lim
d2136df538
Clear cached sixels after horizontal resize ( #1629 )
2024-03-10 13:08:38 +11:00
Joe Lim
44c6aead23
Make documentation generating step optional ( #1628 )
2024-03-09 19:50:02 +01:00
Nuckle
43c2683ca8
Add more file extensions for docker icon ( #1626 )
2024-03-06 20:02:14 +01:00
dependabot[bot]
d89afb8c7d
Bump golang.org/x/term from 0.17.0 to 0.18.0 ( #1624 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/term/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
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>
2024-03-05 17:39:36 +11:00
dependabot[bot]
853bcc524b
Bump github.com/gdamore/tcell/v2 from 2.7.1 to 2.7.4 ( #1621 )
...
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell ) from 2.7.1 to 2.7.4.
- [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.7.1...v2.7.4 )
---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 17:37:37 +11:00
Joe Lim
055ce47224
Fix crash if tags/marks contains invalid entry ( #1614 )
...
* Fix crash if tags file contains invalid entry
* Fix crash if marks file contains invalid entry
2024-03-04 10:11:42 +11:00
Catalin Ancutei
8ee8592b91
avoid using the user.Current on windows to avoid slow startup ( #1617 )
...
* avoid using the user.Current on windows to avoid slow startup
* formated os_windows.go
2024-03-03 21:31:12 +01:00
dependabot[bot]
0c02239b17
Bump github.com/gdamore/tcell/v2 from 2.7.0 to 2.7.1 ( #1608 )
...
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell ) from 2.7.0 to 2.7.1.
- [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.7.0...v2.7.1 )
---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-20 13:24:29 +11: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
ab54329570
Dynamically generate list of completions ( #1595 )
...
* Dynamically generate list of completions
* Update contribution guide
* Add unit tests
2024-02-12 10:19:17 +11:00
Joe Lim
ac32468629
Fix tilde expansion when using setlocal ( #1596 )
2024-02-12 10:13:13 +11:00
dependabot[bot]
d654f09885
Bump golang.org/x/term from 0.16.0 to 0.17.0 ( #1601 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/term/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
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>
2024-02-08 14:29:23 +11:00
Joe Lim
8374080815
Refactor eval code ( #1591 )
...
* 1
* globsearch
* hidden
* some more options
* ignorecase and ignoredia
* fix ignorecase/ignoredia
turns out position and loadfile are required here too since the list of
files can change (similar to hidden option)
* incfilter/incsearch
* mouse
* some more options
* preview
* remaining bool options
* fix more options that can change list of files
* Add applyLocalBoolOpt
* Use applyLocalBoolOpt
* Add position and loadfile fixes
2024-02-05 10:29:19 +11:00
M Bakhtiyar Ali
8bbcbdd0ea
Update lfcd.nu to support nushell >= 0.87.0 ( #1575 )
...
* Update lfcd.nu to support nushell >= 0.87.0
Deprecated def-env in favor of def --env
https://www.nushell.sh/blog/2023-11-14-nushell_0_87_0.html#deprecated-commands-toc
* Update lfcd.nu using `-print-last-dir` introduced in #1402
2024-02-04 18:38:12 +01:00
Jan Tatje
2007ae51a1
Fallback to showing UID/GID if user/group lookup fails ( #1590 )
...
If you mount a filesystem from another computer then UID/GID might
not be mapped to any user. This changes it so that lf shows the UID
and GID instead of nothing if user/group lookup fails.
2024-02-04 18:34:02 +01:00
Joe Lim
8a14749154
Update generated documentation ( #1580 )
2024-01-18 14:51:04 +11:00
Joe Lim
b401318046
Implement sort options as separate variables ( #1577 )
2024-01-18 11:15:06 +11:00
Joe Lim
6af25565d4
Simplify eval for tempmarks option ( #1571 )
2024-01-13 13:40:02 +01:00
Joe Lim
ce32bc67b9
Add missing completions for nohistory and history! ( #1570 )
2024-01-13 13:39:26 +01:00
postsolar
27c71f8210
lf.zsh: make completions complete both lf and lfcd (#1564 )
...
* Leave a note on how to add shell completions for `lfcd` in ZSH
* Revert "Leave a note on how to add shell completions for `lfcd` in ZSH"
@joelim-work suggested a better idea: to make `lf.zsh` complete both `lf` and `lfcd`
This reverts commit c28393dd43 .
* Make `lf.zsh` complete both `lf` and `lfcd`
2024-01-08 00:00:25 +11:00
dependabot[bot]
43610eaf40
Bump golang.org/x/term from 0.15.0 to 0.16.0 ( #1567 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/term/compare/v0.15.0...v0.16.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
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>
2024-01-05 14:21:51 +11:00
Joe Lim
c88b8eaa65
Update documentation contributing guidelines ( #1565 )
...
* Update documentation contributing guidelines
* intentional error
* Revert "intentional error"
This reverts commit f77d2466d6 .
2024-01-02 10:02:49 +11:00
Joe Lim
f8399eb6e0
Allow customization for cut/copy/select colors ( #1540 )
...
* Allow customization for cut/copy/select colors
* Add documentation
2024-01-01 06:35:54 +11:00
Christian Zangl
488294588e
generate doc with pandoc in docker ( #1555 )
2023-12-26 16:16:52 +01:00
Joe Lim
27cbf9403c
Reload file info after mark-save/mark-remove ( #1544 )
2023-12-26 15:58:33 +01:00
Joe Lim
12ce649681
Improve refreshing of file statinfo ( #1536 )
2023-12-26 15:56:20 +01:00
Michael Gallo and Joe Lim
e1ab72516d
sortMethod simplification. ( #1535 )
...
* made sortMethod a string enum to reduce comparisons and repetition
* main uses sortmethod directly instead of converting it into a string
* updated sortmethod validity check to no longer require slices package
* Update opts.go
Co-authored-by: Joe Lim <50560759+joelim-work@users.noreply.github.com >
---------
Co-authored-by: Joe Lim <50560759+joelim-work@users.noreply.github.com >
2023-12-26 15:55:42 +01:00
Joe Lim
f13325f78d
Use string values for go-version ( #1534 )
2023-12-26 15:42:08 +01:00
David Pedersen
a51462dcb9
Show git commit if version information is missing ( #1517 )
...
* Show git commit if version information is missing
* Update version command format
2023-12-26 15:41:15 +01: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
Matthew Toohey
2a4adb323f
continue responding to signals after initial sigint ( #1549 )
2023-12-16 19:26:16 +11:00