This commit is contained in:
parent
a0575bdb2a
commit
703bf836de
210 changed files with 1 additions and 1 deletions
25
modules/nixvim/vim-heritage.nix
Normal file
25
modules/nixvim/vim-heritage.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
flake.modules.nixvim.custom =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
extraPlugins = [
|
||||
(pkgs.vimUtils.buildVimPlugin {
|
||||
src = inputs.vim-heritage;
|
||||
pname = "vim-heritage";
|
||||
version = "unstable";
|
||||
})
|
||||
];
|
||||
|
||||
keymaps = [
|
||||
# https://github.com/jessarcher/vim-heritage/blob/574baeb0679681a710adce5110a0d8b2ae1c2637/README.md#L28-L33
|
||||
{
|
||||
action = ":edit %:h/<cfile><cr>";
|
||||
key = "gf";
|
||||
mode = "n";
|
||||
options.silent = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue