- Add aerc, a terminal email client - Switch to gruvbox colorschemes - Improve base16 Support in kakoune - Add buffer switch binding in kakoune - Correct quick file openers to real files in kakoune - Add proper tab indentation and quick selection to kakoune - Add markdown support and harper spellcheck in kakoune - Import shellpath into a kakoune variable so it can be used in kakscripts - Add render markdown on toggle to kakoune to see approximate of final output - Add lazygit with config for visual git grepping - Add gdb debugger to C language - Add CLI tools: pv, mtr, shellcheck, wiki-tui and ddgr - Add tree as an alias to eza - Bash source .profile - Theme yazi with base16 - Add zk zettelkasten for note taking - Make home.nix imports look nicer
216 lines
5.8 KiB
Nix
216 lines
5.8 KiB
Nix
{ ... }:
|
|
|
|
{
|
|
programs.lazygit = {
|
|
enable = true;
|
|
settings = {
|
|
gui = {
|
|
border = "single";
|
|
};
|
|
|
|
keybinding = {
|
|
universal = {
|
|
quit = "q";
|
|
quit-alt1 = "<c-c>";
|
|
suspendApp = "<c-z>";
|
|
return = "<esc>";
|
|
quitWithoutChangingDirectory = "Q";
|
|
togglePanel = "<tab>";
|
|
prevItem = "<up>";
|
|
nextItem = "<down>";
|
|
prevItem-alt = "e";
|
|
nextItem-alt = "n";
|
|
prevPage = ",";
|
|
nextPage = ".";
|
|
scrollLeft = "H";
|
|
scrollRight = "I";
|
|
gotoTop = "<";
|
|
gotoBottom = ">";
|
|
gotoTop-alt = "<home>";
|
|
gotoBottom-alt = "<end>";
|
|
toggleRangeSelect = "v";
|
|
rangeSelectDown = "<s-down>";
|
|
rangeSelectUp = "<s-up>";
|
|
prevBlock = "<left>";
|
|
nextBlock = "<right>";
|
|
prevBlock-alt = "h";
|
|
nextBlock-alt = "i";
|
|
nextBlock-alt2 = "<tab>";
|
|
prevBlock-alt2 = "<backtab>";
|
|
jumpToBlock = [
|
|
"1"
|
|
"2"
|
|
"3"
|
|
"4"
|
|
"5"
|
|
];
|
|
focusMainView = "0";
|
|
nextMatch = "k";
|
|
prevMatch = "K";
|
|
startSearch = "/";
|
|
optionMenu = "<disabled>";
|
|
optionMenu-alt1 = "?";
|
|
select = "<space>";
|
|
goInto = "<enter>";
|
|
confirm = "<enter>";
|
|
confirmMenu = "<enter>";
|
|
confirmSuggestion = "<enter>";
|
|
confirmInEditor = "<a-enter>";
|
|
confirmInEditor-alt = "<c-s>";
|
|
remove = "d";
|
|
new = "n";
|
|
edit = "j";
|
|
openFile = "o";
|
|
scrollUpMain = "<pgup>";
|
|
scrollDownMain = "<pgdown>";
|
|
scrollUpMain-alt1 = "E";
|
|
scrollDownMain-alt1 = "N";
|
|
scrollUpMain-alt2 = "<c-u>";
|
|
scrollDownMain-alt2 = "<c-d>";
|
|
executeShellCommand = ":";
|
|
createRebaseOptionsMenu = "m";
|
|
|
|
# 'Files' appended for legacy reasons
|
|
pushFiles = "P";
|
|
|
|
# 'Files' appended for legacy reasons
|
|
pullFiles = "p";
|
|
refresh = "R";
|
|
createPatchOptionsMenu = "<c-p>";
|
|
nextTab = "]";
|
|
prevTab = "[";
|
|
nextScreenMode = "+";
|
|
prevScreenMode = "_";
|
|
undo = "z";
|
|
redo = "Z";
|
|
filteringMenu = "<c-s>";
|
|
diffingMenu = "W";
|
|
diffingMenu-alt = "<c-j>";
|
|
copyToClipboard = "<c-o>";
|
|
openRecentRepos = "<c-r>";
|
|
submitEditorText = "<enter>";
|
|
extrasMenu = "@";
|
|
toggleWhitespaceInDiffView = "<c-w>";
|
|
increaseContextInDiffView = "}";
|
|
decreaseContextInDiffView = "{";
|
|
increaseRenameSimilarityThreshold = ")";
|
|
decreaseRenameSimilarityThreshold = "(";
|
|
openDiffTool = "<c-t>";
|
|
newWorktree = "w";
|
|
};
|
|
|
|
cycleDiffRenderers = "|";
|
|
|
|
status = {
|
|
checkForUpdate = "u";
|
|
recentRepos = "<enter>";
|
|
allBranchesLogGraph = "a";
|
|
};
|
|
|
|
files = {
|
|
commitChanges = "c";
|
|
commitChangesWithoutHook = "w";
|
|
amendLastCommit = "A";
|
|
commitChangesWithEditor = "C";
|
|
findBaseCommitForFixup = "<c-f>";
|
|
confirmDiscard = "x";
|
|
ignoreFile = "l";
|
|
refreshFiles = "r";
|
|
stashAllChanges = "s";
|
|
viewStashOptions = "S";
|
|
toggleStagedAll = "a";
|
|
viewResetOptions = "D";
|
|
fetch = "f";
|
|
toggleTreeView = "`";
|
|
openMergeOptions = "M";
|
|
openStatusFilter = "<c-b>";
|
|
copyFileInfoToClipboard = "y";
|
|
collapseAll = "-";
|
|
expandAll = "=";
|
|
};
|
|
|
|
branches = {
|
|
createPullRequest = "o";
|
|
viewPullRequestOptions = "O";
|
|
copyPullRequestURL = "<c-y>";
|
|
checkoutBranchByName = "c";
|
|
forceCheckoutBranch = "F";
|
|
checkoutPreviousBranch = "-";
|
|
rebaseBranch = "r";
|
|
renameBranch = "R";
|
|
mergeIntoCurrentBranch = "M";
|
|
moveCommitsToNewBranch = "K";
|
|
viewGitFlowOptions = "l";
|
|
fastForward = "f";
|
|
createTag = "T";
|
|
pushTag = "P";
|
|
setUpstream = "u";
|
|
fetchRemote = "f";
|
|
addForkRemote = "F";
|
|
sortOrder = "s";
|
|
};
|
|
|
|
commits = {
|
|
squashDown = "s";
|
|
renameCommit = "r";
|
|
renameCommitWithEditor = "R";
|
|
viewResetOptions = "g";
|
|
markCommitAsFixup = "f";
|
|
setFixupMessage = "c";
|
|
createFixupCommit = "F";
|
|
squashAboveCommits = "S";
|
|
moveDownCommit = "<c-n>";
|
|
moveUpCommit = "<c-e>";
|
|
amendToCommit = "A";
|
|
resetCommitAuthor = "a";
|
|
pickCommit = "p";
|
|
revertCommit = "t";
|
|
cherryPickCopy = "C";
|
|
pasteCommits = "V";
|
|
markCommitAsBaseForRebase = "B";
|
|
tagCommit = "T";
|
|
checkoutCommit = "<space>";
|
|
resetCherryPick = "<ctrl+shift+r>";
|
|
copyCommitAttributeToClipboard = "y";
|
|
openLogMenu = "<c-l>";
|
|
openInBrowser = "o";
|
|
viewBisectOptions = "b";
|
|
startInteractiveRebase = "l";
|
|
selectCommitsOfCurrentBranch = "*";
|
|
};
|
|
|
|
amendAttribute = {
|
|
resetAuthor = "a";
|
|
setAuthor = "A";
|
|
addCoAuthor = "c";
|
|
};
|
|
|
|
stash = {
|
|
popStash = "g";
|
|
renameStash = "r";
|
|
};
|
|
|
|
commitFiles = {
|
|
checkoutCommitFile = "c";
|
|
};
|
|
|
|
main = {
|
|
toggleSelectHunk = "a";
|
|
pickBothHunks = "b";
|
|
editSelectHunk = "J";
|
|
};
|
|
|
|
submodules = {
|
|
init = "l";
|
|
update = "u";
|
|
bulkMenu = "b";
|
|
};
|
|
|
|
commitMessage = {
|
|
commitMenu = "<c-o>";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|