-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfig.yml
105 lines (101 loc) · 2.55 KB
/
config.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# yaml-language-server: $schema=https://dlvhdr.github.io/gh-dash/configuration/gh-dash/schema.json
prSections:
- title: Mine
filters: is:open author:@me -repo:microsoft/vscode
layout:
author:
hidden: true
- title: Review
filters: is:open review-requested:@me
layout:
repo:
width: 6
- title: gh-dash
filters: "is:open repo:dlvhdr/gh-dash"
- title: Commented
filters: commenter:@me
- title: Subscribed
filters: "\
repo:nvim-telescope/telescope.nvim \
repo:ldelossa/gh.nvim \
repo:neovim/neovim \
repo:withgraphite/graphite-cli \
repo:cli/cli"
- title: LSP
filters: "-author:app/dependabot -author:app/github-action \
repo:TypeFox/monaco-languageclient \
repo:typescript-language-server/typescript-language-server \
repo:CodinGame/monaco-vscode-api"
issuesSections:
- title: Creator
filters: author:@me
- title: Commented
filters: is:open commenter:@me
- title: dlvhdr
filters: org:dlvhdr
- title: gh-dash
filters: is:open repo:dlvhdr/gh-dash
- title: Assigned
filters: is:open assignee:@me
pager:
diff: diffnav
defaults:
view: repo
refetchIntervalMinutes: 10
layout:
prs:
repoName:
grow: true,
width: 10
hidden: false
base:
hidden: true
preview:
open: true
width: 70
prsLimit: 20
issuesLimit: 20
repoPaths:
dlvhdr/gh-dash: ~/code/personal/gh-dash
port-labs/Port: ~/code/port/mono
port-labs/*: ~/code/port/*
keybindings:
universal:
- key: g
command: >
cd {{.RepoPath}} && lazygit
prs:
- key: O
builtin: checkout
- key: C
command: >
tmux new-window -c {{.RepoPath}} '
nvim -c ":silent Octo pr edit {{.PrNumber}}"
'
- key: b
command: cd {{.RepoPath}} && gh pr view {{.PrNumber}} --json statusCheckRollup | command jq -rcj '.statusCheckRollup.[] | select(.context == "buildkite/mono") | .targetUrl' | xargs open
- key: a
command: >
cd {{.RepoPath}} && git add -A && lazygit
- key: v
command: >
gh pr review --repo {{.RepoName}} --approve --body "$(gum input --prompt='Approval Comment: ')" {{.PrNumber}}
theme:
ui:
sectionsShowCount: true
table:
compact: false
colors:
text:
primary: "#E2E1ED"
secondary: "#666CA6"
inverted: "#242347"
faint: "#B0B3BF"
warning: "#E0AF68"
success: "#3DF294"
background:
selected: "#1B1B33"
border:
primary: "#383B5B"
secondary: "#39386B"
faint: "#2B2B40"