Commit Graph

186 Commits

Author SHA1 Message Date
Christian Zangl
a4842e19d4
keep copy selections after paste (#745) 2022-02-04 19:21:03 +03:00
Christian Zangl
958857f4c4
Add Temporary Marks (#744)
* add temporary marks

* change option format & documentation
2022-01-31 02:28:06 +03:00
Gokcehan
930364ce78 Revert "dirtyfiles: files that don't require cleaning before previewing them (#729)"
This reverts commit 673dad9f07.
2022-01-22 16:57:28 +03:00
Gokcehan
fea4ededb6 update doc 2022-01-04 23:48:04 +03:00
Lucas Mior
673dad9f07
dirtyfiles: files that don't require cleaning before previewing them (#729)
* dirtyfiles

* wrong default on man page

* respect alphabetic order for options

* clean on shell commands

* formating if
2021-12-25 20:49:30 +03:00
Gokcehan
1b71c33afd update doc 2021-10-10 00:01:01 +03:00
SPFab
05a48ea315
added pre-cd command (#685)
* added special pre-cd command

* added documentation
2021-08-23 17:11:56 +03:00
SPFab
ff0933ca03
Added filter command (#667)
* added first version of interactive filter

* small fix when loading new file

* don't reset filter when directory is reloaded automatically

* reapply filter when options for searching change

* current filter or arguments now prefilled in the prompt

* empty filter can now be supplied

* added new setfilter command for use in scripts

* added incfilter option

* added very basic documentation

* added filter indication in statusbar

* added option to display filter to prompt
2021-08-21 16:40:24 +03:00
Gokcehan
bdd1747e43 update doc 2021-08-01 17:04:37 +03:00
Matthew Toohey
75eba115d2
implement dironly option (#669)
Co-authored-by: mtoohey31 <mtoohey31@users.noreply.github.com>
2021-07-31 16:10:25 +03:00
Gokcehan
29aa77aa27 update doc 2021-06-13 00:36:48 +03:00
Gokcehan
5d02b557d3 follow links in 'open' examples
cc #634
2021-05-22 01:46:13 +03:00
Gokcehan
d6acf4a6ec update doc 2021-05-19 22:25:26 +03:00
Gokcehan
06a30eda19 add 'autoquit' option to auto quit server on quit
cc #177
2021-05-19 21:55:19 +03:00
Gokcehan
4601e74d66 export OLDPWD variable as the initial directory
cc #601
2021-04-13 23:48:49 +03:00
gotroyb127
0cfd34f30d
add 'waitmsg' option to configure the message after shell-wait commands (#604) 2021-04-06 18:57:23 +03:00
Gokcehan
ca0068514a add 'shellflag' option to customize shell flag
cc #597
2021-04-04 18:23:14 +03:00
Gokcehan
06bf58851b update doc
cc #591
2021-03-19 14:00:00 +03:00
Gokcehan
8742f25706 update doc 2021-02-27 22:56:18 +03:00
Gokcehan
9ec336fcdb update doc
cc #581
2021-02-12 20:54:18 +03:00
Gokcehan
3e403bb888 update sigpipe error fix in the doc 2021-02-06 00:19:09 +03:00
Gokcehan
13d19d84f9 add 'mouse' option to enable/disable mouse events
cc #268 #570
2021-01-29 19:36:27 +03:00
Gokcehan
ea1ff74e55 update doc 2021-01-24 16:33:49 +03:00
Gokcehan
7481040c2d enable top/bottom in cmap mappings 2021-01-19 01:45:42 +03:00
Gokcehan
a13c14fb07 add support for mouse buttons and wheels
cc #268
2021-01-19 01:20:34 +03:00
Gokcehan
af988284a4 update doc 2021-01-18 23:44:26 +03:00
gotroyb127
d27748e9b5
minor doc fix (#560)
Related #545
2021-01-18 19:02:51 +03:00
Gokcehan
1f9c0b1d4c update doc 2021-01-11 00:42:47 +03:00
Gokcehan
2e4ed8f867 fix default promptfmt to use %d instead of %w
cc #545
2021-01-11 00:40:14 +03:00
Gokcehan
9f8bbe26e2 add trailing star to match names for colors/icons
cc #543
2021-01-07 01:17:56 +03:00
Gokcehan
ab6c00c73d update doc
cc #531
2021-01-03 01:35:30 +03:00
Gokcehan
bfa527fcea fix order of color/icon matches
cc #543
2021-01-03 01:02:40 +03:00
neeshy
1e94f4533e
Guarantee preview/previewClear ordering (#537)
* 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
2020-12-27 04:23:03 +03:00
Gokcehan
72567c9237 update doc
Related #505
2020-12-27 03:27:33 +03:00
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
ed5104cfdb update doc 2020-12-19 17:25:44 +03:00
Gokcehan
cae9ada56c update doc 2020-12-11 17:07:34 +03:00
Gokcehan
f9382f72d4 update doc 2020-12-11 16:36:03 +03:00
Gokcehan
8eb596c670 update doc
Related #499
2020-11-06 20:25:31 +03:00
Gokcehan
c2f2d54cee apply 'ignorecase' and 'ignoredia' to sorting
Related #320
2020-11-06 16:02:58 +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
4c89535e18 add descriptions of variables to the documentation 2020-10-02 23:37:39 +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
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
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
Gokcehan
d25faf7186 add descriptions of commands to the documentation
Related #321
2020-09-01 00:00:38 +03:00
Gokcehan
2b445aa205 update doc 2020-07-26 00:29:50 +03:00