* 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
* Initial commit
* Add documentation
* Fix nav volatile preview state
* Use `previewer` for both preloading and previewing
* Generate documentation
* Update `CHANGELOG.md`
* 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>
- 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
* Invalidate cache for recreated files
* Sanity check for file updates
* Prevent load when watching
* Revert "Prevent load when watching"
This reverts commit 4cf4629a87.
* Load is redundant when watch is enabled
* Add watch option
* Implement directory changes
* Implement file changes
* Fix for dircounts
* Remove test code
* fix dircounts
* Set watches on cd instead of select
* Set watches on startup too
* Watch newly created directories
* Add chmod events
* 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.
* Reduce logic when updating files
* Throttle write updates
* Use timer instead of ticker
* Fix file write out-of-band timing issue
* Fix cursor when renaming
* Prevent file showing at bottom during rename
* Watch new directory when created
* Revert "Watch new directory when created"
This reverts commit 6856804313.
* Reapply "Watch new directory when created"
This reverts commit 1c29f34981.
* Try batching renew updates
* Big rewrite
* Reload individual directories
* Change delay to 100 milliseconds
* Use separate goroutine for loading files/dirs
* Fix filter resetting
* Add documentation
* taking hidden files parameter into account
* Updated doc and removed irelevant linter comment
* fixed doc
* fixed doc again
* Defaulted to empty string on windows