add keybind
This commit is contained in:
@@ -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
|
||||
#{
|
||||
|
||||
@@ -6,6 +6,11 @@
|
||||
# todo change based on graphical settings
|
||||
clipboardPackage = pkgs.wl-clipboard;
|
||||
enable = true;
|
||||
filetypes = {
|
||||
typst = {
|
||||
affix = ''#image("%s")'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user