David Pedersen
702d67575e
Ignore extension when renaming directory ( #1664 )
2024-03-31 21:19:08 +02: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
Michael Gallo
d8b7df87cb
normalize now properly uses boolean parameters ( #1526 )
2023-12-11 15:51:33 +11:00
Joe Lim
ec9bdad90d
Fix low/high crash for big scrolloff values ( #1504 )
2023-12-11 15:41:27 +11:00
hankertrix
03b7321938
Update doc.md ( #1518 )
...
* Update doc.md
Make the icon and colour configuration file more clear, as the names and locations of both files were not explicitly stated.
* Used a reference to the configuration section instead
Also edited the English for spelling and grammar mistakes.
2023-12-11 15:26:18 +11:00
postsolar
e9571ab1d7
Enable completions and add description for lfcd.fish and simplify the code ( #1503 )
...
* Enable completions and add description for lfcd.fish
A simple addition of `--wraps=lf` to the function definition will enable the standard lf completions to be used for `lfcd` function as well.
* Simplify lfcd.fish
* lfcd.fish: unquote $argv
* lfcd.fish: further simplify
* lfcd.fish: cd only on clean exit
* lfcd.fish: further simplify and add a coment on quoting semantics
* lfcd.fish: amend comment style
2023-12-11 15:12:30 +11:00
Joshua Li
31f4a4e16f
fix basename being . when it is empty ( #1525 )
...
* fix basename being `.` when it is empty
* remove unnecessary call of `filepath.Base`
2023-12-11 15:02:07 +11:00
dependabot[bot]
cbdae8e7f3
Bump github.com/gdamore/tcell/v2 from 2.6.0 to 2.7.0 ( #1533 )
...
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell ) from 2.6.0 to 2.7.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.6.0...v2.7.0 )
---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
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>
2023-12-11 14:22:15 +11:00
dependabot[bot]
ff0ca39a4c
Bump actions/setup-go from 4 to 5 ( #1527 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
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>
2023-12-11 14:02:12 +11:00
dependabot[bot]
6abce04855
Bump golang.org/x/term from 0.14.0 to 0.15.0 ( #1511 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/term/compare/v0.14.0...v0.15.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>
2023-11-28 17:37:44 +11:00
dependabot[bot]
7bd5756330
Bump golang.org/x/sys from 0.14.0 to 0.15.0 ( #1510 )
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/sys/compare/v0.14.0...v0.15.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
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>
2023-11-28 17:33:03 +11: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
Alexander Lunegov and Joe Lim
ade9e986e5
Use -print-last-dir option for lfcd.ps1 ( #1491 )
...
* Use `-print-last-dir` option for `lfcd.ps1`
* chore(etc/lfcd.ps1): use `Set-Location` instead of `cd`
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-11-08 23:16:01 +11:00