diff options
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/thesiahxyz/core/autocmds.lua | 9 | ||||
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/markdown.lua | 11 | ||||
| -rw-r--r-- | ar/.config/lf/lfrc | 3 | ||||
| -rw-r--r-- | global/.local/share/venvs/default-requirements.txt | 1 |
4 files changed, 10 insertions, 14 deletions
diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/core/autocmds.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/core/autocmds.lua index 8baae0b..139b0a7 100644 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/core/autocmds.lua +++ b/ar/.config/TheSiahxyz/lua/thesiahxyz/core/autocmds.lua @@ -94,15 +94,6 @@ autocmd("FileType", { end, }) --- Start insert mode in terminal -autocmd("TermOpen", { - group = augroup("terminal"), - pattern = "*", - callback = function() - vim.cmd("startinsert") - end, -}) - -- Make it easier to close man-files when opened inline autocmd("FileType", { group = augroup("man_close"), diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/markdown.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/markdown.lua index a7c26b8..feb3b98 100644 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/markdown.lua +++ b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/markdown.lua @@ -315,8 +315,10 @@ return { command = "QuartoActivate", config = function() require("quarto").setup({ + debug = false, + closePreviewOnExit = true, lspFeatures = { - languages = { "r", "python", "rust", "lua" }, + languages = { "r", "python", "rust" }, chunks = "all", diagnostics = { enabled = true, @@ -348,10 +350,13 @@ return { vim.keymap.set("n", "<leader>jC", runner.run_above, { silent = true, desc = "Run above cell" }) vim.keymap.set("n", "<leader>jl", runner.run_line, { silent = true, desc = "Run line" }) vim.keymap.set("v", "<leader>jv", runner.run_range, { silent = true, desc = "Run block" }) - vim.keymap.set("n", "<leader>jA", runner.run_all, { silent = true, desc = "Run all" }) + vim.keymap.set("n", "<leader>ja", runner.run_all, { silent = true, desc = "Run all" }) + vim.keymap.set("n", "<leader>jA", function() + runner.run_all(true) + end, { desc = "run all cells of all languages", silent = true }) vim.keymap.set( "n", - "<leader>qp", + "<leader>jp", require("quarto").quartoPreview, { noremap = true, silent = true, desc = "Preview the quarto document" } ) diff --git a/ar/.config/lf/lfrc b/ar/.config/lf/lfrc index f4a008b..9d56fb4 100644 --- a/ar/.config/lf/lfrc +++ b/ar/.config/lf/lfrc @@ -400,8 +400,7 @@ cmd alt-paste &{{ read root [ $root = "y" ] && sudo lf -remote "send $id paste" } - lf -remote "send $id clear" - lf -remote "send $id reload" + lf -remote "send $id :clear; reload" }} # Traversal diff --git a/global/.local/share/venvs/default-requirements.txt b/global/.local/share/venvs/default-requirements.txt index f4a7360..a6a45fb 100644 --- a/global/.local/share/venvs/default-requirements.txt +++ b/global/.local/share/venvs/default-requirements.txt @@ -6,6 +6,7 @@ jupyter_client jupyter_core jupytext kaleido +matplotlib nbformat notebook pillow |
