Freeze as the start
tryedandcatched opened this issue · comments
What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
st
Did you try the latest code to see if this problem got fixed?
Tried, but the problem still
yazi --debug
output
Yazi
Version: 0.2.5 (804662e 2024-06-23)
Debug : false
OS : linux-x86_64 (unix)
Ya
Version: 0.2.5
Emulator
Emulator.via_env: ("xterm-256color", "")
Emulator.via_csi: Ok(Unknown([]))
Emulator.detect : Unknown([])
Adapter
Adapter.matches: Wayland
Desktop
XDG_SESSION_TYPE: Some("wayland")
WAYLAND_DISPLAY : Some("wayland-1")
DISPLAY : Some(":0")
SSH
shared.in_ssh_connection: false
WSL
/proc/sys/fs/binfmt_misc/WSLInterop: false
Variables
SHELL : Some("/usr/bin/fish")
EDITOR : Some("vim")
ZELLIJ_SESSION_NAME: None
YAZI_FILE_ONE : None
YAZI_CONFIG_HOME : None
Text Opener
default: Some(Opener { run: "${EDITOR:=vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
block : Some(Opener { run: "${EDITOR:=vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
tmux
TMUX : false
Version: 3.4
Dependencies
file : 5.45
ueberzugpp : No such file or directory (os error 2)
ffmpegthumbnailer: 2.2.2
magick : 7.1.1-29
fzf : 0.43.0
fd : No such file or directory (os error 2)
rg : 14.1.0
chafa : 1.14.0
zoxide : No such file or directory (os error 2)
unar : No such file or directory (os error 2)
jq : 1.7.1
--------------------------------------------------
When reporting a bug, please also upload the `yazi.log` log file - only upload the most recent content by time.
You can find it in the "/home/wyene/.local/state/yazi" directory.
Describe the bug
the bug is (probably pretty easy to fix) not as big of a deal but still an bug. when you make the keymap empty it freeze yazi
Expected Behavior
an total and complete at 0 degree Fahrenheit freeze just after the loading of yazi (with files layout ect..)
To Reproduce
echo "[manager]" > ~/.config/yazi/keymap.toml
echo "keymap = []" >> ~/.config/yazi/keymap.toml
and start yazi
Configuration
No response
Anything else?
No response
The purpose of keymap
is to override all default key bindings, if you don't want this, you should use prepend_keymap
or append_keymap
instead, see https://yazi-rs.github.io/docs/configuration/keymap.
Closing as this is the expected behavior
oooh okay my bad. it didn't freeze.
okay but i still think having something to prevent an empty keymap would be nice no?
maybe showing an popup explaining what happening.