1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-04-23 12:18:51 +02:00

Change null as the default return-alt1

This commit is contained in:
wakaka6 2022-12-20 21:39:24 +08:00
parent 6bf28d325f
commit b6c73b3620
2 changed files with 3 additions and 1 deletions

View File

@ -113,7 +113,8 @@ keybinding:
quit: 'q'
quit-alt1: '<c-c>' # alternative/alias of quit
return: '<esc>' # 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: '<tab>' # goto the next panel
prevItem: '<up>' # go one line up

View File

@ -425,6 +425,7 @@ func GetDefaultConfig() *UserConfig {
Quit: "q",
QuitAlt1: "<c-c>",
Return: "<esc>",
ReturnAlt1: "",
QuitWithoutChangingDirectory: "Q",
TogglePanel: "<tab>",
PrevItem: "<up>",