neovim -> nixvim
This commit is contained in:
30
home/programs/nixvim/plugins/texpresso.nix
Normal file
30
home/programs/nixvim/plugins/texpresso.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ ... }:
|
||||
|
||||
# TODO: Make filetype keybindings work
|
||||
{
|
||||
programs.nixvim = {
|
||||
plugins = {
|
||||
texpresso = {
|
||||
enable = false;
|
||||
};
|
||||
};
|
||||
files = {
|
||||
"ftplugin/latex.lua" = {
|
||||
keymaps = [
|
||||
{
|
||||
action = "<CMD>Texpresso %<CR>";
|
||||
key = "<C-k>t";
|
||||
mode = [
|
||||
"n"
|
||||
"v"
|
||||
"i"
|
||||
];
|
||||
options = {
|
||||
desc = "Start Texpresso";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user