dependabot[bot]
f036e07a5c
Bump golang.org/x/sys from 0.7.0 to 0.8.0 ( #1224 )
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.7.0 to 0.8.0.
- [Commits](https://github.com/golang/sys/compare/v0.7.0...v0.8.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-05-13 16:18:31 +03:00
Joe Lim
8f630e0cab
Separate filter from selections in the ui ruler ( #1223 )
2023-05-13 14:19:50 +03:00
Joe Lim
35990bed12
Prevent scrolling to bottom when selecting files ( #1222 )
...
* Prevent scrolling to bottom when selecting files
* Use nav.currDir()
2023-05-13 13:58:03 +03:00
Gokcehan
f04401ba4d
build diskfree on all platforms
...
cc #1168
2023-04-30 22:10:15 +03:00
Gokcehan
2c86577b95
update doc
...
cc #1176
r29
2023-04-30 16:40:52 +03:00
Joe Lim
4dbc15e4b0
Validate selmode setting ( #1206 )
2023-04-15 19:52:37 +03:00
Joe Lim
c0dfb3c4f5
Fix statusbar spacing ( #1205 )
...
* Fix statusbar spacing
* Fix ruler option check
2023-04-15 19:51:51 +03:00
Gokcehan
55ad40ac0a
add 'ruler' to completion
...
cc #1168
2023-04-09 14:58:11 +03:00
Gokcehan
c1583032aa
update doc
...
cc #1168
2023-04-09 14:54:41 +03:00
rrveex and rr
eb84772032
Customizable statusline, df ( #1168 )
...
* opts statusline, df
* renamed infostat -> ruler; removed os_lin, os_bsd
* removed vscode
---------
Co-authored-by: rr <rr@arveex.eu >
2023-04-09 14:50:34 +03:00
Joe Lim
821b2fcd51
Fix crash when sorting files in a directory ( #1204 )
2023-04-09 14:32:40 +03:00
Joe Lim
734f11d61b
Simplify edge calculation when scrolling down ( #1194 )
...
* Simplify edge calculation when scrolling down
* Alternate implementation
* Alternate implementation #2
2023-04-09 14:23:43 +03:00
RuMaks
28b550a7ec
Use $VISUAL for the e command instead of $EDITOR ( #1197 )
...
* Use $VISUAL for the `e` command instead of $EDITOR
* update `os_windows.go` and `doc.go`
2023-04-09 01:44:09 +03:00
Ilya Grigoriev
1e1486fc02
Make :maps work on Windows and add :cmaps. ( #1201 )
...
* Make `:maps` work on Windows
This makes the `:maps` command from #1146 work on Windows.
This (as well as `:maps` itself) is based on @jackielli's work in #1146 and
#1152 .
I intend to refactor the code in this or a separate PR, but I thought I'd
submit the critical and simple bit first.
* Add `:cmaps` command
After the naming scheme from #1146 , it would seem weird to not have a :cmaps
command. This could help with issues like #876 .
2023-04-09 00:51:52 +03:00
dependabot[bot]
bb45d15b83
Bump golang.org/x/term from 0.6.0 to 0.7.0 ( #1198 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/term/releases )
- [Commits](https://github.com/golang/term/compare/v0.6.0...v0.7.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-04-08 23:40:31 +03:00
Joe Lim
b5c83dbf7a
Add support for moving to a specific line ( #1196 )
...
* Add support for moving to a specific line
* Update documentation
2023-04-08 23:40:16 +03:00
Ilya Grigoriev
27d316c006
lfrc.example: Add mkdir, add "show execution result" ( #1188 )
...
Show how to map `a` to mkdir. `` ` `` maps to "show execution
result". Norton Commander & its successors map it to `<c-o>`,
but I think that's better for something opening-relatred.
Whenever a `$` command gives an unexpected error, I want to see
what happened. There are many ways to do so, but the one I added
here seems the simplest and it took me a while to think of it.
We could also have an option to have `$` commands pause like `!`
commands when there's an error.
2023-04-08 22:35:39 +03:00
Gokcehan
83af3e1cb0
add file operations to non-features in readme
...
close #887
cc #1179
2023-04-02 19:08:51 +03:00
Ilya Grigoriev
27ab67aab7
Make the :doc command work even if lf is not in the PATH, add lf environment variable ( #1176 )
...
* Export a `$lf` environment variable with path to lf binary
If Go fails to find a path to the lf binary, `$lf` is set to the string `lf` so
that running `$lf` in scripts gives a reasonable error message.
* Make the `:doc` command work even if lf is not in the PATH
Previously, `:doc` executed `lf -doc`. Now, it executed `$lf -doc` or `%lf%
-doc`.
Before this change, `:doc` did not work if `lf` is not in the PATH. This is
likely to happen to new users who are trying out `lf` and need docs the most.
Moreover, if you made some changes to the docs and ran `lf` with `go run .`,
`:doc` would return the docs for the version of `lf` in the PATH instead of
what is expected.
2023-04-01 19:49:47 +03:00
Joe Lim
3ae67fc361
Export count as a variable when running commands ( #1187 )
2023-04-01 19:40:28 +03:00
Paul Ouellette
f563263add
Completion: always insert longest match ( #1184 )
...
Previously, longest common match completion would only apply if there
was a word before the cursor.
Suggested in #1090
2023-04-01 19:25:55 +03:00
Paul Ouellette
70171adf40
Fix infinite loop in listMatches ( #1183 )
...
This fixes an issue where listMatches could get stuck in an infinite
loop if one of the matches was longer than the window width.
Fixes #1090
2023-04-01 19:24:55 +03:00
Joe Lim
11caeddb35
Support custom line number colors ( #1177 )
...
* Support custom line number colors
* Move eval case
2023-04-01 16:05:44 +03:00
Joe Lim
6ffc4a4c8a
Display zero when relativenumber is enabled ( #1171 )
2023-03-25 18:35:08 +03:00
Gokcehan
0eddc1e724
cleanup
...
cc #845 #1169
2023-03-25 18:25:09 +03:00
Joe Lim
43fced28e3
Use tcell constants for drawbox ( #1170 )
2023-03-21 20:30:03 +03:00
Joe Lim
68e2433d48
Improve preview loading message flickering ( #1154 )
...
* Improve preview loading
* Change timeout to 100 milliseconds
* Add previewtimeout option
* Start preview outside other goroutines
* Revert previewtimeout option
2023-03-21 19:49:37 +03:00
dependabot[bot]
25288fd90b
Bump actions/setup-go from 3 to 4 ( #1160 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...v4 )
---
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-03-20 20:11:45 +03:00
rrveex and rr
122dee1f45
Enhance rename prompt ( #1162 )
...
* enhance rename ui
* gofmt
* default rename: cursor on dot
* fix basename length
* fix basename length... again
---------
Co-authored-by: rr <rr@arveex.eu >
2023-03-20 20:11:23 +03:00
Joe Lim
8652707299
Avoid refreshing previews for async shell commands ( #1164 )
2023-03-20 19:59:39 +03:00
Gokcehan
41cdd02572
update doc
...
cc #758
2023-03-16 18:11:29 +03:00
Gokcehan
207de6a506
add errors for unexpected boolean option values
...
cc #758
2023-03-16 17:51:59 +03:00
Gokcehan
acb5693b11
cleanup
2023-03-16 17:35:56 +03:00
Gokcehan
85512625f8
add 'true/false' syntax for boolean options
...
cc #758
2023-03-16 17:24:41 +03:00
Joe Lim
0bf17dd3f0
Fix width used for line numbers ( #1151 )
2023-03-12 15:35:23 +03:00
Joe Lim
db9de4d4de
Refactor code for printing directories ( #1150 )
2023-03-12 15:34:44 +03:00
Joe Lim
9440b1b319
Update file info after reload command ( #1149 )
...
* Update status bar after reload
* Add comment
2023-03-12 15:30:16 +03:00
Jackie Li
a85ce898a1
try to fix #916 ( #1146 )
2023-03-12 15:24:44 +03:00
Joe Lim
9f1428582f
Remove commented code ( #1141 )
2023-03-12 15:11:25 +03:00
Joe Lim
bcd058ace2
Delete stale dircache entry during rename ( #1138 )
...
* Delete stale dircache entry during rename
* Clear `regCache` as well
* Add comment
2023-03-12 15:11:09 +03:00
dependabot[bot]
382534c4ba
Bump golang.org/x/term from 0.5.0 to 0.6.0 ( #1137 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/golang/term/releases )
- [Commits](https://github.com/golang/term/compare/v0.5.0...v0.6.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-03-12 15:07:28 +03:00
dependabot[bot]
c2cbc39ce5
Bump golang.org/x/sys from 0.5.0 to 0.6.0 ( #1136 )
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/golang/sys/releases )
- [Commits](https://github.com/golang/sys/compare/v0.5.0...v0.6.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-03-12 15:04:23 +03:00
István Donkó
a8e95ae40a
Replace the obsolete Vue icon in the example file ( #1123 )
2023-03-12 15:04:07 +03:00
dependabot[bot]
3fc1db5d14
Bump github.com/gdamore/tcell/v2 ( #1128 )
...
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell ) from 2.5.4-0.20221019011350-d3cbfcfb7aa3 to 2.6.0.
- [Release notes](https://github.com/gdamore/tcell/releases )
- [Commits](https://github.com/gdamore/tcell/commits/v2.6.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-02-26 01:04:32 +03:00
Ilya Grigoriev
7a7e81e88c
Update the Go version in go.mod to 1.18 ( #1132 )
...
* Replace functions from `ioutil` with same functions from `io`
This is demanded by staticcheck if we upgrade the go version in go.mod.
* Replace ioutil.ReadDir with os.ReadDir
* Update Go version to 1.18 in go.mod
This requires abandoning use of the `ioutil` module (see parent commits)
to pass `staticcheck`.
2023-02-26 01:01:04 +03:00
Ilya Grigoriev
b02fd42df4
invert-below command to substitute for visual mode (#1101 )
...
This command inverts the selection for the current file and all the files below
it. Using this command twice substitutes for having a "visual" mode. This is
described in more detail in the docs and in
https://github.com/gokcehan/lf/issues/477#issuecomment-1414563834 .
Fixes #477 . While that's not exactly what was asked for, I hope it's a suitable
replacement and seems more in the spirit of `lf`, at least until a better
replacement is implemented.
2023-02-26 01:00:54 +03:00
Gokcehan
752f059068
remove older than go1.17 instructions from readme
2023-02-25 23:25:52 +03:00
Gokcehan
326930f46f
change go version from 1.17 to 1.18
2023-02-25 23:19:07 +03:00
dependabot[bot]
6c3366eec4
Bump actions/checkout from 2 to 3 ( #1129 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
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-02-25 23:12:56 +03:00
dependabot[bot]
28936c7506
Bump dominikh/staticcheck-action from 1.2.0 to 1.3.0 ( #1127 )
...
Bumps [dominikh/staticcheck-action](https://github.com/dominikh/staticcheck-action ) from 1.2.0 to 1.3.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.2.0...v1.3.0 )
---
updated-dependencies:
- dependency-name: dominikh/staticcheck-action
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-02-25 23:12:18 +03:00