1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-14 11:23:09 +02:00
lazygit/docs/keybindings/Keybindings_pl.md
Jesse Duffield 845c80721f Decouple escaping from quitting
When a user is not entering text into a prompt, the 'q' key should immediately
quit the application. On the other hand, the 'esc' key should cancel/close/go-back
to the previous context.

If we're at the surface level (nothing to cancel/close) and the user hits the
escape key, the default behaviour is to close the app, however we now have a
`quitOnTopLevelReturn` config key to override this.

I actually think from the beginning we should have made this config option
default to false rather than true which is the default this PR gives it,
but I don't want to anger too many people familiar with the existing behaviour.
2020-07-18 20:00:48 +10:00

7.3 KiB

Lazygit Keybindings

Globalne

  pgup: scroll up main panel (fn+up)
  pgdown: scroll down main panel (fn+down)
  m: view merge/rebase options
  ctrl+p: view custom patch options
  P: push
  p: pull
  R: odśwież
  x: open menu
  z: undo (via reflog) (experimental)
  ctrl+z: redo (via reflog) (experimental)
  +: next screen mode (normal/half/fullscreen)
  _: prev screen mode
  :: execute custom command
  |: view scoping options
  ctrl+e: open diff menu

Gałęzie Panel

  ]: next tab
  [: previous tab

Gałęzie Panel (Branches Tab)

  space: przełącz
  o: utwórz żądanie wyciągnięcia
  c: przełącz używając nazwy
  F: wymuś przełączenie
  n: nowa gałąź
  d: usuń gałąź
  r: rebase branch
  M: scal do obecnej gałęzi
  i: show git-flow options
  f: fast-forward this branch from its upstream
  g: view reset options
  R: rename branch
  ctrl+o: copy branch name to clipboard
  ,: previous page
  .: next page
  <: scroll to top
  /: start search
  >: scroll to bottom

Gałęzie Panel (Remote Branches (in Remotes tab))

  esc: return to remotes list
  g: view reset options
  space: przełącz
  n: nowa gałąź
  M: scal do obecnej gałęzi
  d: usuń gałąź
  r: rebase branch
  u: set as upstream of checked-out branch
  ,: previous page
  .: next page
  <: scroll to top
  /: start search
  >: scroll to bottom

Gałęzie Panel (Remotes Tab)

  f: fetch remote
  n: add new remote
  d: remove remote
  e: edit remote
  ,: previous page
  .: next page
  <: scroll to top
  /: start search
  >: scroll to bottom

Gałęzie Panel (Tags Tab)

  space: przełącz
  d: delete tag
  P: push tag
  n: create tag
  g: view reset options
  ,: previous page
  .: next page
  <: scroll to top
  /: start search
  >: scroll to bottom

Commit files Panel

  esc: go back
  c: checkout file
  d: discard this commit's changes to this file
  o: otwórz plik
  space: toggle file included in patch
  enter: enter file to add selected lines to the patch
  ,: previous page
  .: next page
  <: scroll to top
  /: start search
  >: scroll to bottom

Commity Panel

  ]: next tab
  [: previous tab

Commity Panel (Commits Tab)

  s: ściśnij w dół
  r: przemianuj commit
  R: przemianuj commit w edytorze
  g: zresetuj do tego commita
  f: napraw commit
  F: create fixup commit for this commit
  S: squash above commits
  d: delete commit
  ctrl+j: move commit down one
  ctrl+k: move commit up one
  e: edit commit
  A: amend commit with staged changes
  p: pick commit (when mid-rebase)
  t: revert commit
  c: copy commit (cherry-pick)
  ctrl+o: copy commit SHA to clipboard
  C: copy commit range (cherry-pick)
  v: paste commits (cherry-pick)
  enter: view commit's files
  space: checkout commit
  T: tag commit
  ctrl+r: reset cherry-picked (copied) commits selection
  ,: previous page
  .: next page
  <: scroll to top
  /: start search
  >: scroll to bottom

Commity Panel (Reflog Tab)

  space: checkout commit
  g: view reset options
  ,: previous page
  .: next page
  <: scroll to top
  /: start search
  >: scroll to bottom

Pliki Panel

  c: commituj zmiany
  w: commit changes without pre-commit hook
  A: zmień ostatnie zatwierdzenie
  C: commituj zmiany używając edytora z gita
  space: przełącz zatwierdzenie
  d: view 'discard changes' options
  e: edytuj plik
  o: otwórz plik
  i: dodaj do .gitignore
  r: odśwież pliki
  s: przechowaj pliki
  S: view stash options
  a: przełącz wszystkie zatwierdzenia
  D: view reset options
  enter: zatwierdź pojedyncze linie
  f: fetch
  g: view upstream reset options
  ,: previous page
  .: next page
  <: scroll to top
  /: start search
  >: scroll to bottom

Main Panel (Merging)

  esc: wróć do panelu plików
  space: pick hunk
  b: pick both hunks
  : select previous conflict
  : select next conflict
  : select top hunk
  : select bottom hunk
  z: cofnij

Main Panel (Normal)

  : scroll down (fn+up)
  : scroll up (fn+down)

Main Panel (Patch Building)

  esc: exit line-by-line mode
  : select previous line
  : select next line
  : select previous hunk
  : select next hunk
  space: add/remove line(s) to patch
  v: toggle drag select
  V: toggle drag select
  a: toggle select hunk

Main Panel (Zatwierdzanie)

  esc: wróć do panelu plików
  space: toggle line staged / unstaged
  d: delete change (git reset)
  tab: switch to other panel
  : select previous line
  : select next line
  : select previous hunk
  : select next hunk
  e: edytuj plik
  o: otwórz plik
  v: toggle drag select
  V: toggle drag select
  a: toggle select hunk
  c: commituj zmiany
  w: commit changes without pre-commit hook
  C: commituj zmiany używając edytora z gita

Menu Panel

  esc: close menu
  ,: previous page
  .: next page
  <: scroll to top
  /: start search
  >: scroll to bottom

Schowek Panel

  space: zastosuj
  g: wyciągnij
  d: porzuć
  ,: previous page
  .: next page
  <: scroll to top
  /: start search
  >: scroll to bottom

Status Panel

  e: edytuj plik konfiguracyjny
  o: otwórz plik konfiguracyjny
  u: sprawdź aktualizacje
  enter: switch to a recent repo