Lazygit/Keyshort/Copy to clipboard
- Keyshort Lazygit Lazygit/Keyshort
- Open the Copy to Clipboard Modal #card
- Shortcut:
y - Description: Opens a Curses Modal with copy options.
- Copy file name to clipboard #card
- Shortcut:
y then n (via modal), or <ctrl+o> directly (no modal) - Description: Copies the file name to clipboard.
- Copy relative path to clipboard #card
- Shortcut:
y then p - Description: Copies the relative path to clipboard.
- Copy absolute path to clipboard #card
- Shortcut:
y then P - Description: Copies the absolute path to clipboard.
- Copy diff of selected files to clipboard #card
- Shortcut:
y then s - Description: Copies the diffS of selected files to clipboard. Requires a selection.
- Mnemonic: yank the selected files, yank diffs
- Copy diff of all files to clipboard #card
- Shortcut:
y then a - Description: Copies the diff of all files to clipboard.
- Mnemonic: yank all diffs