You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love the support for keyboard shortcuts in lazygit, but one thing it took me forever to figure out was how to handle merge conflicts solely with the keyboard.
When I get a merge conflict, I can step through the conflicted files (in pane [2]). And after highlighting a file it shows me the conflicts for that file in the main panel. And I can scroll that main panel with Shift+J / K but I couldn't figure out how to focus.
The answer is: press return on the file you have selected. That focuses the main panel. Esc unfocuses and takes you back to the file list.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I love the support for keyboard shortcuts in lazygit, but one thing it took me forever to figure out was how to handle merge conflicts solely with the keyboard.
When I get a merge conflict, I can step through the conflicted files (in pane [2]). And after highlighting a file it shows me the conflicts for that file in the main panel. And I can scroll that main panel with Shift+J / K but I couldn't figure out how to focus.
The answer is: press
return
on the file you have selected. That focuses the main panel. Esc unfocuses and takes you back to the file list.It took me a bunch of trial and error. I even read through most of the keybindings.
https://github.com/jesseduffield/lazygit/blob/master/docs/keybindings/Keybindings_en.md
I'm sharing here to save some future person time...
Beta Was this translation helpful? Give feedback.
All reactions