From b6c73b362006de503e593bfd837743dc59ab632a Mon Sep 17 00:00:00 2001 From: wakaka6 <48764488+wakaka6@users.noreply.github.com> Date: Tue, 20 Dec 2022 21:39:24 +0800 Subject: [PATCH] Change null as the default return-alt1 --- docs/Config.md | 3 ++- pkg/config/user_config.go | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/Config.md b/docs/Config.md index 425041f47..c911aaffd 100644 --- a/docs/Config.md +++ b/docs/Config.md @@ -113,7 +113,8 @@ keybinding: quit: 'q' quit-alt1: '' # alternative/alias of quit return: '' # return to previous menu, will quit if there's nowhere to return - return-alt1: ';' # When set to a printable character, this will work for returning from non-prompt panels + # When set to a printable character, this will work for returning from non-prompt panels + return-alt1: null quitWithoutChangingDirectory: 'Q' togglePanel: '' # goto the next panel prevItem: '' # go one line up diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index 17d50e8a0..955dd7a12 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -425,6 +425,7 @@ func GetDefaultConfig() *UserConfig { Quit: "q", QuitAlt1: "", Return: "", + ReturnAlt1: "", QuitWithoutChangingDirectory: "Q", TogglePanel: "", PrevItem: "",