Gokcehan
654a14ea7d
lazy drawing in shell-pipe commands
2020-11-23 00:13:31 +03:00
Gokcehan
f69c24e357
handle signals properly
...
Related #485
2020-10-21 00:31:04 +03:00
gotroyb127
7a3bd15903
always export lf_options before previewing ( #468 )
...
* 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
2020-09-18 00:50:45 +03:00
Gokcehan
ec512dfe31
read events in the main loop
...
Related #445
2020-09-07 18:40:57 +03:00
Gokcehan
3c8b5a5630
avoid overwriting messages after shell commands
...
Related #441
2020-09-05 17:41:17 +03:00
Gokcehan
658af50006
do not crash with corrupted history entries
...
Related #455
2020-09-01 23:57:40 +03:00
Provessor
24f01f4988
Replace termbox-go with tcell ( #439 )
...
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
2020-09-01 15:42:44 +03:00
Alexey Yerin
25c2f037cb
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
2020-08-19 23:05:50 +03:00
Gokcehan
9c891307f3
cleanup
2020-07-20 02:47:33 +03:00
Gokcehan
7174b7e307
handle broken links with 'select' command
...
Related #201
2020-07-20 02:15:30 +03:00
Gokcehan
3e36500901
check modtime/sorting again when dirs are updated
...
Related #338
2020-07-16 23:13:40 +03:00
gotroyb127
f2e3c7a0ce
shell-async commands now don't create zombie processes ( #407 )
2020-07-14 19:44:13 +03:00
Gokcehan
0e3910652a
cleanup
2020-06-11 04:11:40 +03:00
Provessor
c49140ab36
Properly handle SIGHUP and SIGTERM ( #305 )
...
* Properly handle SIGHUP, SIGINT and SIGTERM
* Do not handle SIGINT
* Cancel current copy/move/delete operation
* Better cancel current operation
2020-04-13 19:32:42 +03:00
Gokcehan
d5f989f373
show progress for delete operation
...
Related #238
2019-12-02 19:50:13 +03:00
Juris Arturs Majors
f76bf30f65
Asynchronous delete ( #238 )
...
* 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
2019-12-02 14:27:58 +03:00
Vladimir Bauer
cfc9e355b3
reduce switch times a bit ( #236 )
2019-10-07 19:08:39 +03:00
Juris Arturs Majors
16db95707e
Mark clear ( #190 )
...
* markclear
* Revert "markclear"
This reverts commit 5e3a188618cb02f7aa284e9f2c9a00ed8ce3dc14.
* Revert "Revert "markclear""
This reverts commit a7a3bfebbf99c10b4a09f197fa997eca461369c4.
* markclear with arguments
* docs
* reverted some whitepsace
* some inline comments
* additional error handling
* wrong argument case
* consider case when argument specified clears all marks
* code cleanup and removed readMarks from writeMarks
* indentation :/
* discussed changes implemnted
* return readMarks error in sync()
* remove reset marks
2019-06-25 21:38:34 +03:00
Gokcehan
80ab2e4fc4
cd if first argument is a directory
...
Related #167
2019-05-18 17:51:32 +03:00
Gokcehan
6f35abb4ca
quote file variables on windows
2019-03-17 20:16:19 +03:00
Gokcehan
0eedb71d6c
export permanent env vars on startup
...
Related #134
2019-03-17 19:52:34 +03:00
Gokcehan
885e896b4a
check existing move operation before quit
2019-03-01 17:45:47 +03:00
Gokcehan
808404978e
show move progress in the ruler
2019-03-01 17:44:50 +03:00
Gokcehan
99734c7dcf
increase copy buffer size
2019-03-01 04:01:33 +03:00
Gokcehan
f44ec4f5bd
use reverse attribute for preview messages
2019-03-01 03:51:14 +03:00
Gokcehan
193285a65d
add 'echomsg' and 'echoerr' commands for logging
2019-02-28 21:58:14 +03:00
Gokcehan
6ec2924b6b
show copy progress in the ruler
2019-02-28 21:04:38 +03:00
Gokcehan
27f104b3e6
select first argument on startup
...
Related #101
2019-02-10 19:48:49 +03:00
Gokcehan
4a1388a5c7
read configuration after initialization
2019-02-09 00:55:11 +03:00
Gokcehan
92e994ebf6
Revert "only echo when the output pauses in shell-pipe"
...
This reverts commit dd6a85f480
.
2019-02-09 00:48:23 +03:00
Gokcehan
245db502cc
execute multiple commands with command flag
...
Related #135
2019-02-08 19:54:04 +03:00
Gokcehan
dd6a85f480
only echo when the output pauses in shell-pipe
2019-02-08 19:06:37 +03:00
Daniel Lewan
0fc14e3b2d
add option to execute command on server initialization ( #135 )
2019-02-06 14:56:06 +03:00
Gokcehan
b101603a4a
Revert "only draw ui when the output pauses in shell-pipe"
...
This reverts commit 8229d972b9
.
2018-12-03 15:43:12 +03:00
Gokcehan
8229d972b9
only draw ui when the output pauses in shell-pipe
2018-11-08 20:00:54 +03:00
Gokcehan
266a583adb
use load instead of reload after shell-pipe
...
Related #109
2018-08-27 19:01:21 +03:00
Gokcehan
b22384d634
keep index when selection is deleted
...
Related #109
2018-08-27 18:57:55 +03:00
Gokcehan
011cca76d1
add find commands to find as you type
...
Related #68
2018-08-22 20:05:22 +03:00
Gokcehan
e82cbb820f
export 'LF_LEVEL' variable for nested instances
...
Related #107
2018-07-28 16:52:54 +03:00
Gokcehan
cdf4fcb810
write history to history file on quit
...
Related #81
2018-07-12 21:22:36 +03:00
Gokcehan
211bcd0444
write marks to marks file on quit
...
Related #76
2018-07-11 20:09:26 +03:00
Gokcehan
a80900f41e
rename mark to selection
2018-07-09 21:22:10 +03:00
Gokcehan
5787ecd1bd
add default environmental variables
2018-06-28 21:51:24 +03:00
Gokcehan
723357fe3d
add 'period' option for periodic refresh
...
Related #73
2018-06-09 22:02:09 +03:00
Gokcehan
a85e0da9b0
cleanup
2018-05-20 20:30:41 +03:00
Gokcehan
d9761d2dc8
rename 'hist' to 'history'
2018-05-16 00:16:49 +03:00
Gokcehan
d608eb4a56
handle resize events properly
2018-04-15 18:18:39 +03:00
Gokcehan
03619c3cbb
handle command counts efficiently
...
Related #66
2018-04-12 18:04:37 +03:00
Gokcehan
54315ffde2
clear output on 'cmd-enter' with 'shell-pipe'
2018-04-06 22:22:38 +03:00
Gokcehan
bdf20aa451
handle carriage return in 'shell-pipe' output
2018-04-06 15:06:25 +03:00