Compare commits
No commits in common. "c86b3bac98b174f5b0cced5b7985a173f9640eba" and "d1ca19692b2ddc44f58354aa23eec17b2c919b37" have entirely different histories.
c86b3bac98
...
d1ca19692b
2 changed files with 1 additions and 27 deletions
|
@ -27,7 +27,7 @@
|
||||||
bl = ''zk list --link-to $@'';
|
bl = ''zk list --link-to $@'';
|
||||||
i = ''zk edit --interactive'';
|
i = ''zk edit --interactive'';
|
||||||
unlinked-mentions = ''zk list --mentioned-by $1 --no-linked-by $1'';
|
unlinked-mentions = ''zk list --mentioned-by $1 --no-linked-by $1'';
|
||||||
short = ''zk list --format '{{word-count}}\t{{title}}' --limit 20 --sort word-count $@'';
|
wc = ''zk list --format '{{word-count}}\t{{title}}' --sort word-count $@'';
|
||||||
nt = ''zk new --title "''${*:2}" $1'';
|
nt = ''zk new --title "''${*:2}" $1'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -7,32 +7,6 @@
|
||||||
config = lib.mkIf config.user.nvim.enable {
|
config = lib.mkIf config.user.nvim.enable {
|
||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
plugins.zk.enable = true;
|
plugins.zk.enable = true;
|
||||||
plugins.which-key.settings.spec = [
|
|
||||||
{
|
|
||||||
__unkeyed-1 = "<leader>z";
|
|
||||||
group = "+zk";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
keymaps = [
|
|
||||||
{
|
|
||||||
action = ":ZkNewFromTitleSelection";
|
|
||||||
key = "<leader>zn";
|
|
||||||
mode = "n";
|
|
||||||
options = {
|
|
||||||
silent = true;
|
|
||||||
desc = "New zk note with title from selection";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
|
||||||
action = ":ZkaMatch";
|
|
||||||
key = "<leader>zs";
|
|
||||||
mode = "n";
|
|
||||||
options = {
|
|
||||||
silent = true;
|
|
||||||
desc = "Search zk notes from selection";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue