1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2026-06-20 01:19:23 +02:00

Make edit keybindings for move-by-word and backspace-word configurable

And make them platform dependent so that they are with ctrl on Windows and
Linux, but alt on Mac.
This commit is contained in:
Stefan Haller
2026-04-08 22:03:50 +02:00
parent 396e1ae8b9
commit 976dbec9ff
6 changed files with 51 additions and 3 deletions
+9
View File
@@ -630,6 +630,15 @@ keybinding:
nextMatch: "n"
prevMatch: "N"
startSearch: /
# <a-left> on Mac
moveWordLeft: <c-left>
# <a-right> on Mac
moveWordRight: <c-right>
# <a-backspace> on Mac
backspaceWord: <c-backspace>
optionMenu: <disabled>
optionMenu-alt1: '?'
select: <space>