From 9daea59de00e78ba77f45e2d73285c3e5d437507 Mon Sep 17 00:00:00 2001 From: The_miro Date: Mon, 25 Nov 2024 10:11:05 +0100 Subject: [PATCH] q now quits yazi normally, optimization for use as shell quicknav --- yazi/keymap.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yazi/keymap.toml b/yazi/keymap.toml index f08f309..3ea249c 100644 --- a/yazi/keymap.toml +++ b/yazi/keymap.toml @@ -3,7 +3,7 @@ "$schema" = "https://yazi-rs.github.io/schemas/keymap.json" [[manager.prepend_keymap]] -on = "q" +on = "" run = 'shell "$SHELL" --block --confirm' desc = "Open shell here" @@ -12,7 +12,7 @@ desc = "Open shell here" keymap = [ { on = "", run = "escape", desc = "Exit visual mode, clear selected, or cancel search" }, { on = "", run = "escape", desc = "Exit visual mode, clear selected, or cancel search" }, - { on = "", run = "quit", desc = "Quit the process" }, + { on = "q", run = "quit", desc = "Quit the process" }, { on = "Q", run = "quit --no-cwd-file", desc = "Exit the process without writing cwd-file" }, { on = "", run = "close", desc = "Close the current tab, or quit if it is last tab" }, { on = "", run = "suspend", desc = "Suspend the process" },