* Use chan struct{} in place of chan bool
* Revert "nav.checkReg now returns a boolean instead of calling nav.preview"
* Guarantee preview/previewClear ordering
* Pass the file path to the cleaner script
* Return early on error in nav.preview
* nav.checkReg now returns a boolean instead of calling nav.preview
* Pass width, height, x, and y parameters to preview script
* Check previewer for exit code
If non-zero the preview will be assumed to have side-effects.
* Add the cleaner option
This is called upon selection changes if the previous preview was
volatile. To this end, volatilePreview was added to the nav struct
* always export lf_options before previewing
related functions were moved to `os.go`
and now exportOpts isn't called through
an app, so it can be called independently
* move related functions to main.go
so they get compiled on windows too
Fix colour construction issue
This also has a test to mitigate it in the future
Remove `colormode` option
The original issue it was trying to solve is no longer present with
tcell (it being a holdover from `color256` on termbox) so it is not
needed.
retire gitter channel in favor of irc/matrix
Export options as environment variables (#448)
* Export options as environment variables
Any options from gOpts are available via lf_OPTION environment
variables. For now it works only on booleans, integers and strings (no
array support)
* Do not export some of the options
* Add support for arrays and fix numbers
* Fix comments
* Replace 1 and 0 with true and false
* Export hidden,reverse,dirfirst and sortby options
* Fix comments
* Little fix
* Simplify boolean conversion
log readlink errors instead of fail
Related #447 and #374
* Export options as environment variables
Any options from gOpts are available via lf_OPTION environment
variables. For now it works only on booleans, integers and strings (no
array support)
* Do not export some of the options
* Add support for arrays and fix numbers
* Fix comments
* Replace 1 and 0 with true and false
* Export hidden,reverse,dirfirst and sortby options
* Fix comments
* Little fix
* Simplify boolean conversion
* Asynchronous deletion, similar to moving
* Reversed some sloppy new lines from previous commit
* Move delete operations to delete.go
* Simplify to use RemoveAll before
* Send errors directly to ui.exprChan directly