Modules/Neovim: Add ggalluvial R package
This commit is contained in:
@ -124,6 +124,7 @@ in {
|
||||
packages = with rPackages; [
|
||||
languageserver
|
||||
ggplot2
|
||||
ggalluvial
|
||||
plotly
|
||||
shiny
|
||||
readr
|
||||
|
||||
@ -66,3 +66,16 @@ local rmpc =
|
||||
vim.g.toggle_rmpc = function()
|
||||
rmpc:toggle()
|
||||
end
|
||||
|
||||
-- Toggle FailNix UI
|
||||
local failnix = Terminal:new({
|
||||
cmd = "cd /home/christoph/Notes/TU/MastersThesis/FailNix && nix develop --command bash -c 'perl ./scripts/menu.pl'",
|
||||
hidden = true,
|
||||
close_on_exit = true,
|
||||
auto_scroll = false,
|
||||
direction = "float",
|
||||
})
|
||||
|
||||
vim.g.toggle_failnix = function()
|
||||
failnix:toggle()
|
||||
end
|
||||
|
||||
@ -340,6 +340,13 @@ _: let
|
||||
action = "<cmd>lua vim.g.toggle_rmpc()<cr>"; # Defined in extraConfigLua.lua
|
||||
options.desc = "Show Rmpc";
|
||||
}
|
||||
# TODO: Something with the environment activation doesn't work
|
||||
# {
|
||||
# mode = "n";
|
||||
# key = "<leader>.";
|
||||
# action = "<cmd>lua vim.g.toggle_failnix()<cr>"; # Defined in extraConfigLua.lua
|
||||
# options.desc = "Show FailNix";
|
||||
# }
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>i";
|
||||
|
||||
Reference in New Issue
Block a user