add keybind

This commit is contained in:
Kopatz
2024-05-28 10:28:32 +02:00
parent 2a7725403d
commit 9980828315
2 changed files with 10 additions and 0 deletions

View File

@@ -38,6 +38,11 @@
action = "<CMD>NvimTreeToggle<CR>";
options.desc = "Toggle NvimTree";
}
{
key = "<leader>p";
action = "<CMD>PasteImg<CR>";
options.desc = "Pastes an Image from the clipboard";
}
# File
#{

View File

@@ -6,6 +6,11 @@
# todo change based on graphical settings
clipboardPackage = pkgs.wl-clipboard;
enable = true;
filetypes = {
typst = {
affix = ''#image("%s")'';
};
};
};
};
}