Design engineer, writing at franknoirot.co.
[keys.normal.space.g]
O = ':sh open $(git config --get remote.origin.url)/tree/$(git branch --show-current)/%{buffer_name}#L%{selection_line_start}-L%{selection_line_end}'
[keys.normal.space.g]
O = ':sh open $(git config --get remote.origin.url)/tree/$(git branch --show-current)/%{buffer_name}#L%{selection_line_start}-L%{selection_line_end}'
[keys.normal.space.g]
Y = ':sh echo "$(git config --get remote.origin.url)/tree/$(git branch --show-current)/%{buffer_name}#L%{selection_line_start}-L%{selection_line_end}" | pbcopy'
[keys.normal.space.g]
Y = ':sh echo "$(git config --get remote.origin.url)/tree/$(git branch --show-current)/%{buffer_name}#L%{selection_line_start}-L%{selection_line_end}" | pbcopy'
Put the following in your config.yml:
[keys.normal.space.g]
f = "changed_file_picker"
g = [
":write-all",
":new",
":insert-output lazygit",
":buffer-close!",
":redraw",
":reload-all"
]
Put the following in your config.yml:
[keys.normal.space.g]
f = "changed_file_picker"
g = [
":write-all",
":new",
":insert-output lazygit",
":buffer-close!",
":redraw",
":reload-all"
]