-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlazygit.yml
26 lines (22 loc) · 842 Bytes
/
lazygit.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# add me to lazygit config location at ~/.config/lazygit/config.yml
gui:
nerdFontsVersion: "3"
scrollHeight: 4
scrollOffMargin: 4
showFileTree: false
customCommands:
- key: o
command: 'gh pr view {{.SelectedLocalBranch.Name}} --web || gh pr create {{.SelectedLocalBranch.Name}} --web'
context: remoteBranches
os:
edit: "nvim --server $NVIM --remote-send '<C-\\><C-n>:5ToggleTerm<CR>:lua _edit({{filename}}, 0)<CR>'"
editAtLine: "nvim --server $NVIM --remote-send '<C-\\><C-n>:5ToggleTerm<CR>:lua _edit({{filename}}, {{line}})<CR>'"
openLink: 'open {{link}} >/dev/null'
keybinding:
universal:
nextScreenMode: '='
git:
overrideGpg: true
paging:
colorArg: always
pager: delta --dark --tabs 2 -s --paging=never --line-numbers --hyperlinks --hyperlinks-file-link-format="lazygit-edit://{path}:{line}"