neeshy
82f03102a5
Add ability to use image previewers ( #531 )
...
* 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
2020-12-24 16:13:20 +03:00
Gokcehan
c2fe88e9a0
cleanup
2020-12-24 15:49:01 +03:00
sitiom
f7c504493f
Add PowerShell autocompletion script ( #535 )
...
* Add PowerShell autocompletion script
* Update lf.ps1
2020-12-24 15:45:12 +03:00
Gokcehan
42ef82b2c8
only clean full paths for colors/icons
...
Related #505
2020-12-24 15:42:36 +03:00
Gokcehan
9255408000
clean path in patterns in colors/icons
...
Related #505
2020-12-24 03:30:11 +03:00
Gokcehan
e4e11e5507
update fish keybinding example
...
Related #499
2020-12-24 02:44:08 +03:00
Gokcehan
eedcc258c2
cleanup
2020-12-24 02:28:25 +03:00
sitiom
e7f5f90b0c
Add PowerShell keybinding example for lfcd ( #532 )
...
* Add PowerShell keybinding example
* Update lfcd.ps1
2020-12-24 01:21:35 +03:00
Gokcehan
de691bf4e8
match trailing slash as dirs in colors/icons
...
Related #505 #506
2020-12-24 01:04:13 +03:00
Gokcehan
1aed76c10d
match path/name/base patterns in colors/icons
...
Related #505 #506
2020-12-23 04:55:10 +03:00
Gokcehan
4438721488
fix build on windows
2020-12-19 18:05:21 +03:00
Gokcehan
9e5d386304
golint
2020-12-19 17:56:27 +03:00
Gokcehan
ed5104cfdb
update doc
2020-12-19 17:25:44 +03:00
Gokcehan
fd688c675b
remove deprecated color256
option
2020-12-19 16:59:09 +03:00
Gokcehan
851e079a82
Fix colors for BSD style LSCOLORS for tcell/v2
...
Related #526
2020-12-19 02:11:38 +03:00
Gokcehan
cae9ada56c
update doc
2020-12-11 17:07:34 +03:00
Gokcehan
6f525ba047
cleanup
2020-12-11 16:47:56 +03:00
Gokcehan
f9382f72d4
update doc
2020-12-11 16:36:03 +03:00
neeshy
c1814c8a4e
Fix issue on *NIX where server dies when controlling terminal is closed ( #517 )
2020-12-11 16:34:11 +03:00
Gokcehan
90b3b166e1
import tcell/v2 from gitlab.com/Provessor/lfp
2020-12-04 23:59:12 +03:00
Marius
73d1a81d85
Fix default promptfmt in documentation ( #509 )
...
%w already has a trailing slash
see: f68406b93c/opts.go (L92)
2020-11-27 22:12:55 +03:00
Gokcehan
5d204a1331
avoid reloading previews modified in the future
...
Related #453
2020-11-25 23:43:30 +03:00
Gokcehan
654a14ea7d
lazy drawing in shell-pipe commands
2020-11-23 00:13:31 +03:00
Gokcehan
ce5c5845e7
use year instead of hh:mm for old files in info
...
Related #507
2020-11-22 17:18:17 +03:00
Gokcehan
c629b3d4ce
fix race when options are changed while sorting
...
Related #502
2020-11-18 22:46:59 +03:00
Gokcehan
8dd4be0ddb
change fish keybinding example
...
Related #499
2020-11-14 00:28:13 +03:00
Gokcehan
3db3445822
add bash completion script
2020-11-09 01:49:13 +03:00
Gokcehan
fa5623fca8
add example configuration files for windows
...
Related #431
2020-11-08 16:56:01 +03:00
Gokcehan
65e593b68f
initialize ignorecase/ignoredia for loading dirs
...
Related #478
2020-11-07 01:13:11 +03:00
Gokcehan
70ec01fc3b
fix crash for 'bottom' at startup
...
Related #498
2020-11-06 20:51:31 +03:00
Gokcehan
8eb596c670
update doc
...
Related #499
2020-11-06 20:25:31 +03:00
Gokcehan
d46ccfc805
resort directories if ignorecase/ignoredia change
...
Related #320
2020-11-06 20:10:54 +03:00
Gokcehan
e8f115848f
avoid reloading directories modified in the future
...
Related #453
2020-11-06 19:57:27 +03:00
Gokcehan
f68406b93c
enable 'ignoredia' by default
...
Related #320
2020-11-06 16:03:02 +03:00
Gokcehan
c2f2d54cee
apply 'ignorecase' and 'ignoredia' to sorting
...
Related #320
2020-11-06 16:02:58 +03:00
Gokcehan
24489924b7
avoid memory allocations in natural sorting
2020-11-06 15:14:38 +03:00
Gokcehan
f877960661
go fmt
2020-11-06 15:14:26 +03:00
Gokcehan
279b0cf250
fix logging when setting 'info' option to empty
2020-10-27 03:07:38 +03:00
Gokcehan
f69c24e357
handle signals properly
...
Related #485
2020-10-21 00:31:04 +03:00
Jonathan Neidel
e1cabfbf56
Fix typo ( #487 )
...
depreciated -> deprecated
2020-10-17 22:56:22 +03:00
Gokcehan
6fa6137124
cleanup
...
Related #482
2020-10-14 22:03:25 +03:00
2pac
17ed724e67
Completition menu cycling #72 ( #482 )
...
* utility modulus function
* ui adapt for tab menu cycle
* refactor(listMatches) for tab menu cycle
* refactor(draw) handle tab menu selection highlight
* refactor(eval) cmd-complete cycle + reset handles
* feat: added backtab counter-cycle in the completition menu
* cleanup
* docs changes
* refactor: make tab cycle own commands
* docs: tab cycle documentation
* bug: the matches list was not complete because index +2 after row end
* refactor(tab cycle): handle the complete menu command print
* refactor(tab cycle): make the cmdTmp varibale mymic cmdAccLeft + check for partial commands
* refactor(tab cycle): fix how to handle the menu completiton from different events
* fix(tab cycle): fix cmd-complete so that it works with new tab cycle commands
* style: changed puprle to reverse
* cleaned up cycle logic + reverted listMatches
* cleaned up eval logic for cycle feat.
* cleanup
Co-authored-by: 2pac <tarasyarema@pm.me>
2020-10-14 19:42:44 +03:00
Gokcehan
228a20ffd1
rename bs to backspace
2020-10-10 17:34:29 +03:00
Gokcehan
8979e2b260
update cross build script
2020-10-10 16:53:52 +03:00
Gokcehan
6a286673ce
initialize hiddenfiles for loading directories
...
Related #478
2020-10-06 22:24:55 +03:00
Gokcehan
4c89535e18
add descriptions of variables to the documentation
2020-10-02 23:37:39 +03:00
Gokcehan
88749a3da1
check hiddenfiles option for dir updates
...
Related #476
2020-10-02 21:50:55 +03:00
Alexey Yerin
cf79726d21
feat: add ability to map lone <esc> ( #475 )
...
Since d2414f7580
<esc> resets key buffer
but this feature prevents binding lone <esc>
2020-10-02 21:30:31 +03:00
Gokcehan
50dd374f77
fix race in previews with lazy drawing
...
Related #445
2020-09-25 23:08:29 +03:00
Gokcehan
1460f49b3e
update readme
2020-09-24 23:38:09 +03:00