Commit Graph

632 Commits

Author SHA1 Message Date
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
Gokcehan
969dee3621 add descriptions of options to the documentation
Related #321
2020-09-24 02:00:36 +03:00
Gokcehan
36798b4c24 update doc
Related #469
2020-09-22 04:22:08 +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
76c85d9459 add descriptions of cmds to the documentation
Related #321
2020-09-13 18:14:25 +03:00
Gokcehan
355075cf75 cleanup 2020-09-13 14:55:17 +03:00
Himujjal Upadhyaya
1186bf6382
[Minor Fix]: Doc update for Windows Users (#465)
A minor change was fixed in `doc.go:142` for Windows Users. Clear instructions for using `$f`, `$fs`, `$fx` and `$id` in Windows as `%f%`, `%fs%`, `%fx%` and `%id%`.
2020-09-10 19:17:09 +03:00
Provessor
61442f8880
A more robust server starting mechanism (#463)
now lf will start the server in the current directory (which will then
Chdir to the user's home directory) to ensure it is always starting as
the user intended.
2020-09-09 14:08:52 +03:00
Gokcehan
ec512dfe31 read events in the main loop
Related #445
2020-09-07 18:40:57 +03:00
gotroyb127
f248ce77a1
fixes 'numbers are bold when the filename is bold' (#462)
* fixes 'numbers are bold when the filename is bold'

* do it correctly
2020-09-06 17:52:11 +03:00
Gokcehan
3c8b5a5630 avoid overwriting messages after shell commands
Related #441
2020-09-05 17:41:17 +03:00
Gokcehan
b608682580 load modified previews after shell-pipe commands 2020-09-05 14:09:52 +03:00
Gokcehan
ab6549679b rename backspace/backspace2 to bs/bs2 again
Related #445
2020-09-05 12:56:12 +03:00
Gokcehan
5e9580500c show loading directories with previous file list
Related #414
2020-09-05 12:55:27 +03:00
Gokcehan
ebf3bcc76b resume with a new goroutine instead of busy wait
Related #461
2020-09-05 12:36:31 +03:00
Gokcehan
f1f28018a6 add missing keys for push command
Related #445
2020-09-04 23:59:20 +03:00
Gokcehan
b40ebdcb33 fix regular keys in push commands
Related #445
2020-09-04 21:25:19 +03:00
Gokcehan
4f5b4e6dbf remove manual escape delaying mechanism
Related #459
2020-09-04 18:25:40 +03:00
Gokcehan
4f02cf47c7 use the same input goroutine when ui is resumed
Related #459
2020-09-04 18:07:50 +03:00
Gokcehan
eab7b61846 only listen 127.0.0.1 in the server
Related #456
2020-09-02 00:43:55 +03:00
Gokcehan
658af50006 do not crash with corrupted history entries
Related #455
2020-09-01 23:57:40 +03:00