1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-03-21 21:47:32 +02:00
lazygit/docs/keybindings/Keybindings_pl.md
Jesse Duffield f3eb180f75 Standardise display of range selection across views
We're not fully standardising here: different contexts can store their range state however
they like. What we are standardising on is that now the view is always responsible for
highlighting the selected lines, meaning the context/controller needs to tell the view
where the range start is.

Two convenient benefits from this change:
1) we no longer need bespoke code in integration tests for asserting on selected lines because
we can just ask the view
2) line selection in staging/patch-building/merge-conflicts views now look the same as in
list views i.e. the highlight applies to the whole line (including trailing space)

I also noticed a bug with merge conflicts not rendering the selection on focus though I suspect
it wasn't a bug with any real consequences when the view wasn't displaying the selection.

I'm going to scrap the selectedRangeBgColor config and just let it use the single line
background color. Hopefully nobody cares, but there's really no need for an extra config.
2024-01-19 10:47:21 +11:00

12 KiB

This file is auto-generated. To update, make the changes in the pkg/i18n directory and then run go generate ./... from the project root.

Lazygit Keybindings

Legend: <c-b> means ctrl+b, <a-b> means alt+b, B means shift+b

Globalne

  <c-r>: Switch to a recent repo
  <pgup>: Scroll up main panel (fn+up/shift+k)
  <pgdown>: Scroll down main panel (fn+down/shift+j)
  @: Open command log menu
  }: Increase the size of the context shown around changes in the diff view
  {: Decrease the size of the context shown around changes in the diff view
  :: Wykonaj własną komendę
  <c-p>: View custom patch options
  m: Widok scalenia/opcje zmiany bazy
  R: Odśwież
  +: Next screen mode (normal/half/fullscreen)
  _: Prev screen mode
  ?: Open menu
  <c-s>: View filter-by-path options
  W: Open diff menu
  <c-e>: Open diff menu
  <c-w>: Toggle whether or not whitespace changes are shown in the diff view
  z: Undo
  <c-z>: Redo
  P: Push
  p: Pull

List panel navigation

  ,: Previous page
  .: Next page
  <: Scroll to top
  >: Scroll to bottom
  v: Toggle range select
  <s-down>: Range select down
  <s-up>: Range select up
  /: Search the current view by text
  H: Scroll left
  L: Scroll right
  ]: Next tab
  [: Previous tab

Commit summary

  <enter>: Potwierdź
  <esc>: Zamknij

Commity

  <c-o>: Copy commit SHA to clipboard
  <c-r>: Reset cherry-picked (copied) commits selection
  b: View bisect options
  s: Ściśnij
  f: Napraw commit
  r: Zmień nazwę commita
  R: Zmień nazwę commita w edytorze
  d: Usuń commit
  e: Edytuj commit
  i: Start interactive rebase
  p: Wybierz commit (podczas zmiany bazy)
  F: Utwórz commit naprawczy dla tego commita
  S: Spłaszcz wszystkie commity naprawcze powyżej zaznaczonych commitów (autosquash)
  <c-j>: Przenieś commit 1 w dół
  <c-k>: Przenieś commit 1 w górę
  v: Wklej commity (przebieranie)
  B: Mark commit as base commit for rebase
  A: Popraw commit zmianami z poczekalni
  a: Set/Reset commit author
  t: Odwróć commit
  T: Tag commit
  <c-l>: Open log menu
  w: View worktree options
  <space>: Checkout commit
  y: Copy commit attribute
  o: Open commit in browser
  n: Create new branch off of commit
  g: Wyświetl opcje resetu
  c: Kopiuj commit (przebieranie)
  C: Kopiuj zakres commitów (przebieranie)
  <c-t>: Open external diff tool (git difftool)
  <enter>: Przeglądaj pliki commita
  /: Search the current view by text

Confirmation panel

  <enter>: Potwierdź
  <esc>: Zamknij

Local branches

  <c-o>: Copy branch name to clipboard
  i: Show git-flow options
  <space>: Przełącz
  n: Nowa gałąź
  o: Utwórz żądanie pobrania
  O: Utwórz opcje żądania ściągnięcia
  <c-y>: Skopiuj adres URL żądania pobrania do schowka
  c: Przełącz używając nazwy
  F: Wymuś przełączenie
  d: View delete options
  r: Zmiana bazy gałęzi
  M: Scal do obecnej gałęzi
  f: Fast-forward this branch from its upstream
  T: Create tag
  s: Sort order
  g: Wyświetl opcje resetu
  R: Rename branch
  u: View upstream options
  w: View worktree options
  <enter>: View commits
  /: Filter the current view by text

Main panel (patch building)

  <left>: Poprzedni kawałek
  <right>: Następny kawałek
  v: Toggle range select
  a: Toggle select hunk
  <c-o>: Copy the selected text to the clipboard
  o: Otwórz plik
  e: Edytuj plik
  <space>: Add/Remove line(s) to patch
  <esc>: Wyście z trybu "linia po linii"
  /: Search the current view by text

Menu

  <enter>: Wykonaj
  <esc>: Zamknij
  /: Filter the current view by text

Pliki

  <c-o>: Copy the file name to the clipboard
  d: Pokaż opcje porzucania zmian
  <space>: Przełącz stan poczekalni
  <c-b>: Filter files by status
  y: Copy to clipboard
  c: Zatwierdź zmiany
  w: Zatwierdź zmiany bez skryptu pre-commit
  A: Zmień ostatni commit
  C: Zatwierdź zmiany używając edytora
  <c-f>: Find base commit for fixup
  e: Edytuj plik
  o: Otwórz plik
  i: Ignore or exclude file
  r: Odśwież pliki
  s: Przechowaj zmiany
  S: Wyświetl opcje schowka
  a: Przełącz stan poczekalni wszystkich
  <enter>: Zatwierdź pojedyncze linie
  g: View upstream reset options
  D: Wyświetl opcje resetu
  `: Toggle file tree view
  <c-t>: Open external diff tool (git difftool)
  M: Open external merge tool (git mergetool)
  f: Pobierz
  /: Search the current view by text

Pliki commita

  <c-o>: Copy the committed file name to the clipboard
  c: Plik wybierania
  d: Porzuć zmiany commita dla tego pliku
  o: Otwórz plik
  e: Edytuj plik
  <c-t>: Open external diff tool (git difftool)
  <space>: Toggle file included in patch
  a: Toggle all files included in patch
  <enter>: Enter file to add selected lines to the patch (or toggle directory collapsed)
  `: Toggle file tree view
  /: Search the current view by text

Poczekalnia

  <left>: Poprzedni kawałek
  <right>: Następny kawałek
  v: Toggle range select
  a: Toggle select hunk
  <c-o>: Copy the selected text to the clipboard
  o: Otwórz plik
  e: Edytuj plik
  <esc>: Wróć do panelu plików
  <tab>: Switch to other panel (staged/unstaged changes)
  <space>: Toggle line staged / unstaged
  d: Discard change (git reset)
  E: Edit hunk
  c: Zatwierdź zmiany
  w: Zatwierdź zmiany bez skryptu pre-commit
  C: Zatwierdź zmiany używając edytora
  /: Search the current view by text

Reflog

  <c-o>: Copy commit SHA to clipboard
  w: View worktree options
  <space>: Checkout commit
  y: Copy commit attribute
  o: Open commit in browser
  n: Create new branch off of commit
  g: Wyświetl opcje resetu
  c: Kopiuj commit (przebieranie)
  C: Kopiuj zakres commitów (przebieranie)
  <c-r>: Reset cherry-picked (copied) commits selection
  <c-t>: Open external diff tool (git difftool)
  <enter>: View commits
  /: Filter the current view by text

Remote branches

  <c-o>: Copy branch name to clipboard
  <space>: Przełącz
  n: Nowa gałąź
  M: Scal do obecnej gałęzi
  r: Zmiana bazy gałęzi
  d: Delete remote tag
  u: Set as upstream of checked-out branch
  s: Sort order
  g: Wyświetl opcje resetu
  w: View worktree options
  <enter>: View commits
  /: Filter the current view by text

Remotes

  f: Fetch remote
  n: Add new remote
  d: Remove remote
  e: Edit remote
  /: Filter the current view by text

Scalanie

  e: Edytuj plik
  o: Otwórz plik
  <left>: Poprzedni konflikt
  <right>: Następny konflikt
  <up>: Wybierz poprzedni kawałek
  <down>: Wybierz następny kawałek
  z: Cofnij
  M: Open external merge tool (git mergetool)
  <space>: Wybierz kawałek
  b: Wybierz oba kawałki
  <esc>: Wróć do panelu plików

Schowek

  <space>: Zastosuj
  g: Wyciągnij
  d: Porzuć
  n: Nowa gałąź
  r: Rename stash
  w: View worktree options
  <enter>: Przeglądaj pliki commita
  /: Filter the current view by text

Status

  o: Otwórz konfigurację
  e: Edytuj konfigurację
  u: Sprawdź aktualizacje
  <enter>: Switch to a recent repo
  a: Pokaż wszystkie logi gałęzi

Sub-commits

  <c-o>: Copy commit SHA to clipboard
  w: View worktree options
  <space>: Checkout commit
  y: Copy commit attribute
  o: Open commit in browser
  n: Create new branch off of commit
  g: Wyświetl opcje resetu
  c: Kopiuj commit (przebieranie)
  C: Kopiuj zakres commitów (przebieranie)
  <c-r>: Reset cherry-picked (copied) commits selection
  <c-t>: Open external diff tool (git difftool)
  <enter>: Przeglądaj pliki commita
  /: Search the current view by text

Submodules

  <c-o>: Copy submodule name to clipboard
  <enter>: Enter submodule
  <space>: Enter submodule
  d: Remove submodule
  u: Update submodule
  n: Add new submodule
  e: Update submodule URL
  i: Initialize submodule
  b: View bulk submodule options
  /: Filter the current view by text

Tags

  <space>: Przełącz
  d: View delete options
  P: Push tag
  n: Create tag
  g: Wyświetl opcje resetu
  w: View worktree options
  <enter>: View commits
  /: Filter the current view by text

Worktrees

  n: Create worktree
  <space>: Switch to worktree
  <enter>: Switch to worktree
  o: Open in editor
  d: Remove worktree
  /: Filter the current view by text

Zwykłe

  mouse wheel down: Przewiń w dół (fn+up)
  mouse wheel up: Przewiń w górę (fn+down)