Compare commits
2 changed files with 3 additions and 3 deletions
|
|
@ -9,7 +9,9 @@ prompt: enabled
|
||||||
pager:
|
pager:
|
||||||
# Aliases allow you to create nicknames for gh commands
|
# Aliases allow you to create nicknames for gh commands
|
||||||
aliases:
|
aliases:
|
||||||
co: pr checkout
|
co: >
|
||||||
|
!(ref="$(gh pr view "$1" --json 'headRefName' --jq '.headRefName')" && git fetch-branch "$ref" && git switch "$ref")
|
||||||
|
|
||||||
prw: pr view -w
|
prw: pr view -w
|
||||||
commit: >
|
commit: >
|
||||||
!(repo=$(gh repo view --json url --jq .url) && ref="${1-HEAD}" && commit=$(git rev-parse "$ref") && open "${repo}/commit/${commit}")
|
!(repo=$(gh repo view --json url --jq .url) && ref="${1-HEAD}" && commit=$(git rev-parse "$ref") && open "${repo}/commit/${commit}")
|
||||||
|
|
|
||||||
|
|
@ -116,11 +116,9 @@ tabpad = "‒"
|
||||||
|
|
||||||
[keys.normal.space]
|
[keys.normal.space]
|
||||||
"*" = [":set-register / %sh{coil fuzzy '%{selection}'}", "global_search"]
|
"*" = [":set-register / %sh{coil fuzzy '%{selection}'}", "global_search"]
|
||||||
"K" = "goto_hover"
|
|
||||||
|
|
||||||
[keys.select.space]
|
[keys.select.space]
|
||||||
"*" = [":set-register / %sh{coil fuzzy '%{selection}'}", "global_search"]
|
"*" = [":set-register / %sh{coil fuzzy '%{selection}'}", "global_search"]
|
||||||
"K" = "goto_hover"
|
|
||||||
|
|
||||||
[keys.normal."["]
|
[keys.normal."["]
|
||||||
"F" = "@maf<A-;>;"
|
"F" = "@maf<A-;>;"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue