home: zed and lazygit config
This commit is contained in:
@@ -220,9 +220,10 @@
|
||||
branchLogCmd = "git log {{branchName}} --first-parent --color=always --pretty=format:'%Cgreen%h%Creset %Cblue%aN%Creset %C(cyan)%<(14)%ar%Creset %s' --abbrev-commit";
|
||||
};
|
||||
os = {
|
||||
edit = "$EDITOR {{filename}}";
|
||||
editAtLine = "$EDITOR {{filename}}:{{line}}";
|
||||
editAtLineAndWait = "$EDITOR --wait {{filename}}:{{line}}";
|
||||
edit = "\${EDITOR} -- {{filename}}";
|
||||
editAtLine = "\${EDITOR} -- {{filename}}:{{line}}";
|
||||
editAtLineAndWait = "\${EDITOR} --wait -- {{filename}}:{{line}}";
|
||||
openDirInEditor = "\${EDITOR} -- {{dir}}";
|
||||
};
|
||||
promptToReturnFromSubprocess = false;
|
||||
keybinding = {
|
||||
@@ -246,6 +247,21 @@
|
||||
gh pr view --web
|
||||
'';
|
||||
}
|
||||
{
|
||||
key = "N";
|
||||
context = "localBranches";
|
||||
prompts = [
|
||||
{
|
||||
type = "input";
|
||||
title = "New Branch Name:";
|
||||
key = "BranchName";
|
||||
initialValue = "{{.SelectedLocalBranch.Name}}_review";
|
||||
}
|
||||
];
|
||||
command = ''
|
||||
git checkout -b {{.Form.BranchName | quote}}
|
||||
'';
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user