Modules/Neovim: Add ggalluvial R package
This commit is contained in:
@ -124,6 +124,7 @@ in {
|
|||||||
packages = with rPackages; [
|
packages = with rPackages; [
|
||||||
languageserver
|
languageserver
|
||||||
ggplot2
|
ggplot2
|
||||||
|
ggalluvial
|
||||||
plotly
|
plotly
|
||||||
shiny
|
shiny
|
||||||
readr
|
readr
|
||||||
|
|||||||
@ -66,3 +66,16 @@ local rmpc =
|
|||||||
vim.g.toggle_rmpc = function()
|
vim.g.toggle_rmpc = function()
|
||||||
rmpc:toggle()
|
rmpc:toggle()
|
||||||
end
|
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
|
action = "<cmd>lua vim.g.toggle_rmpc()<cr>"; # Defined in extraConfigLua.lua
|
||||||
options.desc = "Show Rmpc";
|
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";
|
mode = "n";
|
||||||
key = "<leader>i";
|
key = "<leader>i";
|
||||||
|
|||||||
Reference in New Issue
Block a user