Improve yazi keymap

This commit is contained in:
Admin 2025-03-17 14:16:16 +01:00
parent a9d92efa18
commit 5373190dda
2 changed files with 19 additions and 2 deletions

View File

@ -7,7 +7,12 @@ prepend_keymap = [
# { on = "C", run = "plugin ouch --args=zip", desc = "Compress with ouch" }, # { on = "C", run = "plugin ouch --args=zip", desc = "Compress with ouch" },
# Goto # Goto
{ on = [ "g", "h" ], run = "cd ~", desc = "Go to ~" }, { on = [ "g", "h" ], run = "cd ~", desc = "Go to ~" },
{ on = [ "g", "c" ], run = "cd ~/.config", desc = "Go to ~/.config" }, { on = [ "g", "c", "c" ], run = "cd ~/.config", desc = "Go to ~/.config" },
{ on = [ "g", "c", "h" ], run = "cd ~/.config/hypr", desc = "Go to Hyprland config" },
{ on = [ "g", "c", "f" ], run = "cd ~/.config/fish", desc = "Go to Fish config" },
{ on = [ "g", "c", "y" ], run = "cd ~/.config/yazi", desc = "Go to Yazi config" },
{ on = [ "g", "c", "w" ], run = "cd ~/.config/waybar", desc = "Go to waybar config" },
{ on = [ "g", "c", "n" ], run = "cd ~/.config/nvim", desc = "Go to NeoVim config" },
{ on = [ "g", "a" ], run = "cd ~/.cache", desc = "Go to ~/.cache" }, { on = [ "g", "a" ], run = "cd ~/.cache", desc = "Go to ~/.cache" },
{ on = [ "g", "n" ], run = "cd ~/NextCloud/Documents/",desc = "Go to NextCloud Documents" }, { on = [ "g", "n" ], run = "cd ~/NextCloud/Documents/",desc = "Go to NextCloud Documents" },
{ on = [ "g", "l", "b" ], run = "cd ~/.local/bin", desc = "Go to ~/.local/bin" }, { on = [ "g", "l", "b" ], run = "cd ~/.local/bin", desc = "Go to ~/.local/bin" },
@ -17,7 +22,9 @@ prepend_keymap = [
{ on = [ "g", "s", "s" ], run = "cd /mnt/secondary/SteamLibrary", desc = "Go to SteamLibrary on main games drive" }, { on = [ "g", "s", "s" ], run = "cd /mnt/secondary/SteamLibrary", desc = "Go to SteamLibrary on main games drive" },
{ on = [ "g", "o" ], run = "cd /mnt/janis/Documents", desc = "Go to Documents" }, { on = [ "g", "o" ], run = "cd /mnt/janis/Documents", desc = "Go to Documents" },
{ on = [ "g", "d" ], run = "cd ~/Downloads", desc = "Go to ~/Downloads" }, { on = [ "g", "d" ], run = "cd ~/Downloads", desc = "Go to ~/Downloads" },
{ on = [ "g", "p" ], run = "cd /mnt/janis/Pictures", desc = "Go to Pictures" }, { on = [ "g", "p", "a" ], run = "cd ~/projects/active", desc = "Go to Active projects" },
{ on = [ "g", "p", "r" ], run = "cd ~/projects/archive", desc = "Go to Archive projects" },
{ on = [ "g", "p", "p" ], run = "cd ~/projects", desc = "Go to projects" },
{ on = [ "g", "t" ], run = "cd /tmp", desc = "Go to /tmp" }, { on = [ "g", "t" ], run = "cd /tmp", desc = "Go to /tmp" },
{ on = [ "g", "/" ], run = "cd /", desc = "Go to /" }, { on = [ "g", "/" ], run = "cd /", desc = "Go to /" },
{ on = [ "g", "m" ], run = "cd /run/media/$USER", desc = "Go to /run/media" }, { on = [ "g", "m" ], run = "cd /run/media/$USER", desc = "Go to /run/media" },

View File

@ -39,6 +39,7 @@ base-devel
bash bash
bash-language-server bash-language-server
bashtop bashtop
bazel
biber biber
bind bind
binutils binutils
@ -498,6 +499,7 @@ java-runtime-common
jbig2dec jbig2dec
jbigkit jbigkit
jdk-openjdk jdk-openjdk
jdk21-openjdk
jdtls jdtls
jemalloc jemalloc
jq jq
@ -1203,6 +1205,7 @@ python-dbus
python-fastjsonschema python-fastjsonschema
python-filelock python-filelock
python-gobject python-gobject
python-greenlet
python-inflect python-inflect
python-jaraco.collections python-jaraco.collections
python-jaraco.context python-jaraco.context
@ -1212,6 +1215,7 @@ python-mako
python-markdown python-markdown
python-markupsafe python-markupsafe
python-more-itertools python-more-itertools
python-msgpack
python-ordered-set python-ordered-set
python-packaging python-packaging
python-pip python-pip
@ -1219,6 +1223,7 @@ python-platformdirs
python-psutil python-psutil
python-pycparser python-pycparser
python-pygments python-pygments
python-pynvim
python-pyxdg python-pyxdg
python-setuptools python-setuptools
python-shtab python-shtab
@ -1406,6 +1411,7 @@ typescript-language-server
tzdata tzdata
uchardet uchardet
udisks2 udisks2
ufw
unibilium unibilium
unzip unzip
upower upower
@ -1416,6 +1422,10 @@ uxplay
uxplay-debug uxplay-debug
v4l-utils v4l-utils
vapoursynth vapoursynth
verible-bin
verible-bin-debug
veridian-bin
veridian-bin-debug
vesktop-bin vesktop-bin
vid.stab vid.stab
vlc vlc