* Add truncate functions
* Replace code for printing command line
* Replace code in truncateFilename function
* Remove restriction for truncatechar to be width 1
* Replace code in printdir function
* Replace code in listmatches
* Remove go-runewidth
* Revert truncatechar limitation change
* Remove SGR 8
* Remove `<backspace2>`
* Migrate to v3 of Tcell
* Refactor key handling functionality
* Bump Tcell version
* Replace `SetContent` API with `Put` API
* bump dependencies
* Use new color package
* Fix cursor position for grapheme clusters
* Some editing fixes to support grapheme clusters
* Ignore carriage return when printing
* Move grapheme cluster handling into misc.go
* Fix length of filenames containing emoji
* Use slices.Concat
* Use `string` instead of `[]rune` for `win.print`
* Add note about modifier limitations
* Update `CHANGELOG.md`
* refactor: remove init flag
* fix bugs
* cleanup of `addcustominfo`
* use `getDir` for accessing directories from cache
* Avoid trimming `addcustominfo` value
* 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 ruler file for customizing the ruler
* Update `CHANGELOG.md`
* Show ruler errors instead of logging them
* Allow multiple sections
* Show syntax errors for ruler file
* Add line percentage
* Add lower/upper functions
* Add back truncation
* Use fmt options
---------
Co-authored-by: CatsDeservePets <145048791+CatsDeservePets@users.noreply.github.com>
* Remove unnecessary space in history file
* Refactor history navigation
* Implement smarter history navigation
* Skip duplicate commands in history navigation
* Return to Normal mode if it started from there
* Reset history state when changing prompt
* Update documentation
- Refactor of the completion module, primarily to have the `match...` functions return the result for each possible match, so that they can be displayed when the user cycles through the completions using `cmd-menu-complete`/`cmd-menu-complete-back`
- Add support for completing list options (e.g. `set info user:group:size:time`)
- Provide different implementations for escaping/unescaping for `lfrc` command syntax, Unix and Windows. It is a bit hacky, but for now I want to keep `lf` as shell-agnostic as possible which means minimizing the logic based on `gOpts.shell`
- Fix alignment bug in the completion menu when displaying filenames with fullwidth characters
* 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