!NnQHxJZKXmKATWReSC:matrix.org

LF File Manager

26 Members
https://github.com/gokcehan/lf3 Servers

Load older messages


SenderMessageTime
16 Sep 2023
@asynthe:matrix.org@asynthe:matrix.orgWindow swallowing works in terminal but not when opening with lf (with arrow keys)16:32:30
@asynthe:matrix.org@asynthe:matrix.org However, if i do a % zathura file.pdf, swallowing will work 16:32:56
@asynthe:matrix.org@asynthe:matrix.orgIs there a way to open automatically pdf's like that?16:33:20
22 Sep 2023
@decathlon9175:matrix.org@decathlon9175:matrix.org joined the room.04:47:45
28 Sep 2023
@7-x230:matrix.org7-x230 joined the room.10:23:50
8 Oct 2023
@decathlon9175:matrix.org@decathlon9175:matrix.org left the room.07:04:46
@cabalcrow:matrix.orgCabalCrow joined the room.10:49:39
@cabalcrow:matrix.orgCabalCrowhey I'm trying to bind space as a keymap (similar to gg gh, etc). When I do map <space>g top, space still acts as the orignial keybind instead of the top command. Mapping <space> on its own works10:52:02
@cabalcrow:matrix.orgCabalCrowgot it I had to remove the <space> bind first11:22:34
9 Oct 2023
@max:nymtech.chat@max:nymtech.chat changed their display name from Max to Max - OOO (sick).08:04:32
11 Oct 2023
@budtard:matrix.orgJameson BradfieldtwoHi all, lfcd.ps1 isn't working with my lf config, I have the lfcd.ps1 script in a folder in my path, is there any other step to get it to work? 19:28:57
@budtard:matrix.orgJameson Bradfieldtwo

Hi all, lfcd.ps1 isn't working with my lf config, I have the lfcd.ps1 script in a folder in my path, is there any other step to get it to work?

Replace lf config with powershell, it should change the CD to the path right?

19:31:04
@budtard:matrix.orgJameson Bradfieldtwo *

Hi all, lfcd.ps1 isn't working with my lf config, I have the lfcd.ps1 script in a folder in my path, is there any other step to get it to work?

Replace lf config with powershell, it should change the CD to the path when I close lf right?

19:31:21
@jewink:matrix.org[jeWink] joined the room.20:54:15
19 Oct 2023
@budtard:matrix.orgJameson BradfieldtwoQuestion, does lf support "line numbers" to support stuff like 6j(move down 6 files) and 8k(move up 8 files)?03:11:21
@budtard:matrix.orgJameson Bradfieldtwo * Question, does lf support "line numbers" to support stuff like 6j(move down 6 files) and 8k(move up 8 files) I like the visual indicators?03:11:52
@budtard:matrix.orgJameson Bradfieldtwo * Question, does lf support "line numbers" to support stuff like 6j(move down 6 files) and 8k(move up 8 files)? I like the visual indicators.03:12:01
@budtard:matrix.orgJameson Bradfieldtwonvm it was already in docs03:13:54
23 Oct 2023
@max:nymtech.chat@max:nymtech.chat changed their display name from Max - OOO (sick) to Max.07:30:17
25 Oct 2023
@pirafrank:matrix.orgpirafrank joined the room.11:18:00
26 Oct 2023
@max:nymtech.chat@max:nymtech.chat changed their display name from Max to Max - OOO national holiday.09:11:35
30 Oct 2023
@max:nymtech.chat@max:nymtech.chat changed their display name from Max - OOO national holiday to Max.08:35:30
4 Nov 2023
@budtard:matrix.orgJameson Bradfieldtwo

Hello, I am unable to access lf environment variables in powershell, Example given below
Select multiple files with space hit enter and type
$Remove-Item $Env:f
files are still there.
config is as close to barebones as you can get

#TODO : Change add/delete/rename to use file selection in lf

# interpreter for shell commands
set shell powershell

# Shell commands with multiline definitions and/or positional arguments and/or
# quotes do not work in Windows. For anything but the simplest shell commands,
# it is recommended to create separate script files and simply call them here
# in commands or mappings.
#
# Also, the default keybindings are defined using cmd syntax (i.e. '%EDITOR%')
# which does not work with powershell. Therefore, you need to override these
# keybindings with explicit choices accordingly.

# change the default open command to work in powerShell
cmd open &start $Env:f

# change the editor used in default editor keybinding
# There is no builtin terminal editor installed in Windows. The default editor
# mapping uses 'notepad' which launches in a separate GUI window. You may
# instead install a terminal editor of your choice and replace the default
# editor keybinding accordingly.
map e $nvim $Env:f

set scrolloff 10

set filesep " "

# change the pager used in default pager keybinding
# The standard pager used in Windows is 'more' which is not a very capable
# pager. You may instead install a pager of your choice and replace the default
# pager keybinding accordingly.
map i $less $Env:f

# change 'doc' command to use a different pager
cmd doc $lf -doc | less

#delete keybinding using push
map d push $Remove-Item<space>

#add file using push
map a push $New-Item<space>-Type<space>File<space>

#add folder using push
map A push $New-Item<space>-Type<space>Directory<space>

map r push :rename<space>
# reload config file using f5
map <f-5> push :source<space>C:/Users/mcraf/.config/lf/lfrc<enter>

map <f-2> push :doc<enter>

map i $less $Env:f

# change the shell used in default shell keybinding
map w $powershell
# use enter for shell commands
map <enter> shell
16:27:34
@budtard:matrix.orgJameson Bradfieldtwoif there is any debugging and such I can do in order to help give more information let me know.17:00:52
6 Nov 2023
@frostle28:midov.pl@frostle28:midov.pl joined the room.20:17:32
@frostle28:midov.pl@frostle28:midov.plRedacted or Malformed Event20:56:10
7 Nov 2023
@frostle28:midov.pl@frostle28:midov.pl
In reply to @frostle28:midov.pl
hello. I am using lf on st and have ctpv bat installed. I used to use the environment variable $TERM=st which used the 16-color terminal and bat did preview text in lf using colors. Recently I knew about removing the $TERM variable or setting it to st-256color used the 256-color terminal, and bat in lf still previewed text normally. 10 minutes after I discovered the 256-color terminal I learnt about setting $TERM to st-direct to get truecolor color support. Everything works well, but previewing text files with bat in lf displays all the text in deep blue color and I don't know what to do. bat and ctpv all work well outside of lf and output the text in bat with the correct colors, but in lf all the text in the preview is deep blue. is there any way to fix this? I am able to use cat in lf just fine as cat outputs everything in white but not bat.
Update: I fixed this by using "TERM=st-256color lf" to use the 256-color terminal to use lf and now bat displays normally. But I still would like to know how to get lf working on st-direct with truecolor support, specially when lf claims to support truecolor
04:10:37
11 Nov 2023
@frostle28:midov.pl@frostle28:midov.pl left the room.06:05:55
12 Nov 2023
@opnxng:matrix.org@opnxng:matrix.org joined the room.11:23:16
@opnxng:matrix.org@opnxng:matrix.orgRedacted or Malformed Event11:28:33

Show newer messages


Back to Room ListRoom Version: