Commit Graph

761 Commits

Author SHA1 Message Date
Gokcehan
c8f60623f3 cleanup 2021-04-13 23:29:26 +03:00
Gokcehan
fec767d11b dont change findlen to force find with cmd-enter
cc #605
2021-04-13 20:32:01 +03:00
gotroyb127
0dcfb3d4fe
force find at cmd-enter (#605)
cc #559
2021-04-06 19:02:16 +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
229b7b1ade export PWD on windows to fix broken build
cc #591
2021-04-04 18:30:00 +03:00
Gokcehan
ca0068514a add 'shellflag' option to customize shell flag
cc #597
2021-04-04 18:23:14 +03:00
Gokcehan
aebff483a7 update tcell version to fix delete key on st
cc #486
2021-03-30 01:34:58 +03:00
Gokcehan
5166eef0b3 change to local tcell fork
cc #586
2021-03-30 01:12:58 +03:00
Gokcehan
73be81595e handle ui suspend/resume errors
cc #592
2021-03-28 18:54:40 +03:00
Gokcehan
06bf58851b update doc
cc #591
2021-03-19 14:00:00 +03:00
SeerLite
b7aaa23bd0
Export $PWD to shell (#591)
Most shells use $PWD to show the right working directory when it's a
symlink. Without it, they'd fall back to the absolute path instead.
2021-03-19 13:58:10 +03:00
SPFab
a9cb7156a3
added ability to use custom config file (#587) 2021-03-09 14:35:50 +03:00
Gokcehan
91f40b1f02 update example config 2021-03-03 18:06:44 +03:00
Gokcehan
1544d62206 update readme 2021-02-27 23:16:27 +03:00
Gokcehan
8742f25706 update doc 2021-02-27 22:56:18 +03:00
Gokcehan
ced1ccd0c3 update doc 2021-02-22 01:45:48 +03:00
Gokcehan
7dfdcb51c0 unset shellopts when empty 2021-02-21 19:21:06 +03:00
Gokcehan
2c3cd35a5d use x/term instead of stty/pause to prompt any key
cc #480
2021-02-21 18:01:20 +03:00
Gokcehan
c071e37316 cleanup 2021-02-21 17:48:23 +03:00
Gokcehan
4c0efdcb41 use suspend/resume api in tcell v2.2.0
cc #480
2021-02-21 17:34:38 +03:00
Gokcehan
1b93f2232e show number of selected/saved files in status line
cc #143
2021-02-13 17:45:18 +03:00
Gokcehan
9ec336fcdb update doc
cc #581
2021-02-12 20:54:18 +03:00
Nikita
6422bd7492
Fix symlink handling (#581)
* Fix replace dialog for symlinks

If the oldPath is a symlink to the newPath or vice versa, than os.Stat()
would resolve this symlink, and both the oldStat and newStat would be
the same. Hence, the replace dialog would not appear and the newPath
file would be overwritten by the oldPath file whilst the oldPath would
be deleted.

It is the same story when the oldPath and newPath are both symlinks to
the same file.

* Fix completion in the case of broken symlinks

If the current directory contains broken symlinks then matchFile() would
return at first broken symlink.

Let's consider the following example:

$ ls -F ~/
broken@ dir/ file

The broken@ is a symlink to ~/foo - non existent file.

If one would enter the following command in lf:

:cd ~/<tab>

it would not suggest possible completion options because matchFile()
would return as soon as it meet the broken symlink.

* Don't resolve symlinks when move files/dirs (#571)

This will allow to move broken symlinks.

* Fix symlinks copying/moving (#571)

Copy symlinks, do not try to resolve it and copy the file pointed by
this symlink. Also this allows to copy symlink to directory.
2021-02-12 20:50:48 +03:00
Gokcehan
60d6119858 add link/user/group to statline when available
cc #365
2021-02-12 16:01:54 +03:00
Gokcehan
3e403bb888 update sigpipe error fix in the doc 2021-02-06 00:19:09 +03:00
Gokcehan
9d451ffd19 use ascii space/digits in scanner
cc #572
2021-01-30 18:29:32 +03:00
Gokcehan
2aa50aecaf show unknown mapping error for unbind mouse events
cc #268 #570
2021-01-29 19:47:28 +03:00
Gokcehan
13d19d84f9 add 'mouse' option to enable/disable mouse events
cc #268 #570
2021-01-29 19:36:27 +03:00
neeshy
1163efb7aa
Avoid redundantly loading previews for search/find (#569)
* Avoid redundantly loading previews for find

* Avoid redundantly loading previews for search
2021-01-29 18:27:27 +03:00
Gokcehan
c6cf0e61ba only combine non-spacing mark characters
cc #565
2021-01-27 02:22:40 +03:00
Gokcehan
ea1ff74e55 update doc 2021-01-24 16:33:49 +03:00
neeshy
873cfe87a1
Reduce declaration and assignment (#564)
Some code cleanup for #562
2021-01-21 01:01:49 +03:00
neeshy
3f66f08b84
Exhaust queued entries in previewChan prior to calling preview script (#562)
* Use ranged for loop over channel

And rename variable "path" to "prev"

* Exhaust queued entries in previewChan prior to calling preview script
2021-01-19 04:42:01 +03:00
Gokcehan
cb6ae713b4 update readme 2021-01-19 01:53:13 +03:00
Gokcehan
e0317611ef avoid loading redundant previews for top/bottom
cc #531
2021-01-19 01:47:09 +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
Gokcehan
f54acae958 avoid loading redundant previews for up/down
cc #531
2021-01-18 21:30:52 +03:00
Gokcehan
2af2c6de31 fix tab character when printing
cc #496
2021-01-18 21:27:34 +03:00
Gokcehan
d6c5590ad0 display combining characters in the text
cc #496
2021-01-18 20:48:31 +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
SPFab
07d42c9a80
Added new Promptfmt Option to remove trailing separator (#545)
* Added new Promptfmt Option to remove trailing seperator

* Small fix

* small fix with multiple format options
also renamed the format options
2021-01-11 00:37:41 +03:00
Gokcehan
9f8bbe26e2 add trailing star to match names for colors/icons
cc #543
2021-01-07 01:17:56 +03:00
Marius
8e09df5969
Allow multiple -command flags (#552) 2021-01-07 01:10:54 +03:00
neeshy
b5f6f6edee
Don't redraw volatile previews on ticker period (#546) 2021-01-04 17:01:29 +03:00
Eduard Ganiukov
d62dd9353f
client: use PID as a client ID (#550)
Fixes: #549
2021-01-03 01:58:01 +03:00
Gokcehan
42eb27823e consider icons/numbers when showing info
cc #548
2021-01-03 01:53:06 +03:00