add keybind
This commit is contained in:
@@ -38,6 +38,11 @@
|
|||||||
action = "<CMD>NvimTreeToggle<CR>";
|
action = "<CMD>NvimTreeToggle<CR>";
|
||||||
options.desc = "Toggle NvimTree";
|
options.desc = "Toggle NvimTree";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
key = "<leader>p";
|
||||||
|
action = "<CMD>PasteImg<CR>";
|
||||||
|
options.desc = "Pastes an Image from the clipboard";
|
||||||
|
}
|
||||||
|
|
||||||
# File
|
# File
|
||||||
#{
|
#{
|
||||||
|
|||||||
@@ -6,6 +6,11 @@
|
|||||||
# todo change based on graphical settings
|
# todo change based on graphical settings
|
||||||
clipboardPackage = pkgs.wl-clipboard;
|
clipboardPackage = pkgs.wl-clipboard;
|
||||||
enable = true;
|
enable = true;
|
||||||
|
filetypes = {
|
||||||
|
typst = {
|
||||||
|
affix = ''#image("%s")'';
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user