Compare commits
8 commits
a2f3fe87c3
...
9a23217d23
Author | SHA1 | Date | |
---|---|---|---|
9a23217d23 | |||
315e38cb24 | |||
06e0cca640 | |||
a5c5480105 | |||
676c5b2094 | |||
dc86bf3989 | |||
dc3b2cf12e | |||
c8a2236a1c |
10 changed files with 64 additions and 76 deletions
|
@ -1,5 +1,7 @@
|
||||||
-- Start quarto session
|
-- Start quarto session
|
||||||
local startsession = function(file, args)
|
local startsession = function(file, args)
|
||||||
|
local path, _ = require("util").get_python_venv()
|
||||||
|
vim.g["python3_host_prog"] = path
|
||||||
file = file or "/tmp/jupyter-magma-session.json"
|
file = file or "/tmp/jupyter-magma-session.json"
|
||||||
if args then
|
if args then
|
||||||
file = args[0]
|
file = args[0]
|
||||||
|
|
|
@ -21,46 +21,45 @@
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" },
|
"cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" },
|
||||||
"completion-vcard": { "branch": "master", "commit": "2220fd517a985ececed1adcf0e5be8f2815564c7" },
|
"completion-vcard": { "branch": "master", "commit": "2220fd517a985ececed1adcf0e5be8f2815564c7" },
|
||||||
"dial.nvim": { "branch": "master", "commit": "54b503f906bc9e5ab85288414840a1b86d40769f" },
|
"dial.nvim": { "branch": "master", "commit": "54b503f906bc9e5ab85288414840a1b86d40769f" },
|
||||||
"dressing.nvim": { "branch": "master", "commit": "f16d7586fcdd8b2e3850d0abb7e46f944125cc25" },
|
"dressing.nvim": { "branch": "master", "commit": "5fb5cce0cbfcedeadbcee43e5674e8c9a9f28d4a" },
|
||||||
"easyread.nvim": { "branch": "main", "commit": "0b07e315a4cd7d700c4a794bdddbec79fdc2628b" },
|
"easyread.nvim": { "branch": "main", "commit": "0b07e315a4cd7d700c4a794bdddbec79fdc2628b" },
|
||||||
"fidget.nvim": { "branch": "main", "commit": "0ba1e16d07627532b6cae915cc992ecac249fb97" },
|
"fidget.nvim": { "branch": "main", "commit": "0ba1e16d07627532b6cae915cc992ecac249fb97" },
|
||||||
"friendly-snippets": { "branch": "main", "commit": "b3cd8d77feb7871d8b04bb45bcd8154120a796a1" },
|
"friendly-snippets": { "branch": "main", "commit": "5749f093759c29e3694053d048ceb940fe12c3d3" },
|
||||||
"fwatch.nvim": { "branch": "main", "commit": "a691f7349dc66285cd75a1a698dd28bca45f2bf8" },
|
"fwatch.nvim": { "branch": "main", "commit": "a691f7349dc66285cd75a1a698dd28bca45f2bf8" },
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "bb808fc7376ed7bac0fbe8f47b83d4bf01738167" },
|
"gitsigns.nvim": { "branch": "main", "commit": "bb808fc7376ed7bac0fbe8f47b83d4bf01738167" },
|
||||||
"jupyter-kernel.nvim": { "branch": "main", "commit": "5b409598033884a3d819e2a3bcd1fe340bc8d783" },
|
"jupyter-kernel.nvim": { "branch": "main", "commit": "5b409598033884a3d819e2a3bcd1fe340bc8d783" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "6b2311a46a3808e366bb251270f4cc04afb421ed" },
|
"lazy.nvim": { "branch": "main", "commit": "b7043f2983d7aead78ca902f3f2053907081859a" },
|
||||||
"lightspeed.nvim": { "branch": "main", "commit": "299eefa6a9e2d881f1194587c573dad619fdb96f" },
|
"lightspeed.nvim": { "branch": "main", "commit": "299eefa6a9e2d881f1194587c573dad619fdb96f" },
|
||||||
"lsp-setup.nvim": { "branch": "main", "commit": "4656a1882546b702b18a84f5de209a2f8aa43dee" },
|
"lsp-setup.nvim": { "branch": "main", "commit": "2d5138d82c12874135dfd268b6b50ccfce4eb5df" },
|
||||||
"lsp_signature.nvim": { "branch": "master", "commit": "4665921ff8e30601c7c1328625b3abc1427a6143" },
|
"lsp_signature.nvim": { "branch": "master", "commit": "4665921ff8e30601c7c1328625b3abc1427a6143" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "05d78e9fd0cdfb4545974a5aa14b1be95a86e9c9" },
|
"lualine.nvim": { "branch": "master", "commit": "05d78e9fd0cdfb4545974a5aa14b1be95a86e9c9" },
|
||||||
"magma-nvim-goose": { "branch": "main", "commit": "d7931d773efcedc9c92337b8d500e32a3725fe26" },
|
"magma-nvim-goose": { "branch": "main", "commit": "5aafbbd5309e9089d39528f7d982377363c002a2" },
|
||||||
"markdown-preview.nvim": { "branch": "master", "commit": "9becceee5740b7db6914da87358a183ad11b2049" },
|
"markdown-preview.nvim": { "branch": "master", "commit": "9becceee5740b7db6914da87358a183ad11b2049" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "5230617372e656d4a2e1e236e03bf7e7b4b97273" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "5230617372e656d4a2e1e236e03bf7e7b4b97273" },
|
||||||
"mason-null-ls.nvim": { "branch": "main", "commit": "cfbd83909cbc56e2f07cb3f8a03157e069c5c91c" },
|
"mason-null-ls.nvim": { "branch": "main", "commit": "cfbd83909cbc56e2f07cb3f8a03157e069c5c91c" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "4be1226f48bc2011024110f37b17f5ee468df58f" },
|
"mason.nvim": { "branch": "main", "commit": "664c987c3b14d2262a4e580f993a3e5045baded0" },
|
||||||
"mini.nvim": { "branch": "main", "commit": "296ebbbd3e5ba5e43f5125efe18ad76fe3b632cc" },
|
"mini.nvim": { "branch": "main", "commit": "296ebbbd3e5ba5e43f5125efe18ad76fe3b632cc" },
|
||||||
"nabla.nvim": { "branch": "master", "commit": "8c143ad2b3ab3b8ffbd51e238ccfcbd246452a7e" },
|
"null-ls.nvim": { "branch": "main", "commit": "bbaf5a96913aa92281f154b08732be2f57021c45" },
|
||||||
"null-ls.nvim": { "branch": "main", "commit": "a138b14099e9623832027ea12b4631ddd2a49256" },
|
|
||||||
"nvim-base16": { "branch": "master", "commit": "4f3aa29f49b38edb6db1c52cea57e64ce3de2373" },
|
"nvim-base16": { "branch": "master", "commit": "4f3aa29f49b38edb6db1c52cea57e64ce3de2373" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "b8c2a62b3bd3827aa059b43be3dd4b5c45037d65" },
|
"nvim-cmp": { "branch": "main", "commit": "8a1694ff330ed58ed29716686fcef79c28090354" },
|
||||||
"nvim-colorizer.lua": { "branch": "master", "commit": "dde3084106a70b9a79d48f426f6d6fec6fd203f7" },
|
"nvim-colorizer.lua": { "branch": "master", "commit": "dde3084106a70b9a79d48f426f6d6fec6fd203f7" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "295c646488d5baa63c6c4da68fe61171b9257375" },
|
"nvim-lspconfig": { "branch": "master", "commit": "11a1be0e5f180b57079db56de10a20b4323111ae" },
|
||||||
"nvim-notify": { "branch": "master", "commit": "ea9c8ce7a37f2238f934e087c255758659948e0f" },
|
"nvim-notify": { "branch": "master", "commit": "ea9c8ce7a37f2238f934e087c255758659948e0f" },
|
||||||
"nvim-surround": { "branch": "main", "commit": "211eaad7c6d01ef4ac02cba9052b3082ec232101" },
|
"nvim-surround": { "branch": "main", "commit": "211eaad7c6d01ef4ac02cba9052b3082ec232101" },
|
||||||
"nvim-toggleterm.lua": { "branch": "main", "commit": "95204ece0f2a54c89c4395295432f9aeedca7b5f" },
|
"nvim-toggleterm.lua": { "branch": "main", "commit": "95204ece0f2a54c89c4395295432f9aeedca7b5f" },
|
||||||
"nvim-tree.lua": { "branch": "master", "commit": "f873625d0636889af4cd47a01e486beb865db205" },
|
"nvim-tree.lua": { "branch": "master", "commit": "c3c6544ee00333b0f1d6a13735d0dd302dba4f70" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "cc360a9beb1b30d172438f640e2c3450358c4086" },
|
"nvim-treesitter": { "branch": "master", "commit": "cc360a9beb1b30d172438f640e2c3450358c4086" },
|
||||||
"nvim-treesitter-context": { "branch": "master", "commit": "efe87061af560847679fca93697991e474f049e2" },
|
"nvim-treesitter-context": { "branch": "master", "commit": "6eccc445394df5ab9b1c1e2c445c033949a6a784" },
|
||||||
"nvim-treesitter-textsubjects": { "branch": "master", "commit": "b913508f503527ff540f7fe2dcf1bf1d1f259887" },
|
"nvim-treesitter-textsubjects": { "branch": "master", "commit": "b913508f503527ff540f7fe2dcf1bf1d1f259887" },
|
||||||
"nvim-ts-autotag": { "branch": "main", "commit": "e254b306fb81ed69049cce526e7906150d73e0d1" },
|
"nvim-ts-autotag": { "branch": "main", "commit": "6be1192965df35f94b8ea6d323354f7dc7a557e4" },
|
||||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "0bf8fbc2ca8f8cdb6efbd0a9e32740d7a991e4c3" },
|
"nvim-ts-context-commentstring": { "branch": "main", "commit": "0bf8fbc2ca8f8cdb6efbd0a9e32740d7a991e4c3" },
|
||||||
"nvim-ts-rainbow2": { "branch": "master", "commit": "c00d61ab7517530c49457ba49186776e6611a3e1" },
|
"nvim-ts-rainbow2": { "branch": "master", "commit": "c00d61ab7517530c49457ba49186776e6611a3e1" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "2a125024a137677930efcfdf720f205504c97268" },
|
"nvim-web-devicons": { "branch": "master", "commit": "14b3a5ba63b82b60cde98d0a40319d80f25e8301" },
|
||||||
"otter.nvim": { "branch": "main", "commit": "242d180e7f23cc2af6b5d5193bc50909408caef7" },
|
"otter.nvim": { "branch": "main", "commit": "242d180e7f23cc2af6b5d5193bc50909408caef7" },
|
||||||
"playground": { "branch": "master", "commit": "2b81a018a49f8e476341dfcb228b7b808baba68b" },
|
"playground": { "branch": "master", "commit": "2b81a018a49f8e476341dfcb228b7b808baba68b" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "253d34830709d690f013daf2853a9d21ad7accab" },
|
"plenary.nvim": { "branch": "master", "commit": "253d34830709d690f013daf2853a9d21ad7accab" },
|
||||||
"popup.nvim": { "branch": "master", "commit": "b7404d35d5d3548a82149238289fa71f7f6de4ac" },
|
"popup.nvim": { "branch": "master", "commit": "b7404d35d5d3548a82149238289fa71f7f6de4ac" },
|
||||||
"quarto-nvim": { "branch": "main", "commit": "b299266c6287d74b60480fae348d629ec1dc02bb" },
|
"quarto-nvim": { "branch": "main", "commit": "d814efc7729f679ae1964248662d18dfad4c9806" },
|
||||||
"smartcolumn.nvim": { "branch": "main", "commit": "0c572e3eae48874f25b74394a486f38cadb5c958" },
|
"smartcolumn.nvim": { "branch": "main", "commit": "0c572e3eae48874f25b74394a486f38cadb5c958" },
|
||||||
"symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" },
|
"symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" },
|
||||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "9bc8237565ded606e6c366a71c64c0af25cd7a50" },
|
"telescope-fzf-native.nvim": { "branch": "main", "commit": "9bc8237565ded606e6c366a71c64c0af25cd7a50" },
|
||||||
|
@ -80,4 +79,4 @@
|
||||||
"zen-mode.nvim": { "branch": "main", "commit": "6e6c963d70a8e47854fa656987666bfb863f9c4e" },
|
"zen-mode.nvim": { "branch": "main", "commit": "6e6c963d70a8e47854fa656987666bfb863f9c4e" },
|
||||||
"zettelkasten.nvim": { "branch": "main", "commit": "0e77624689b470410f5355b613d45219c9350264" },
|
"zettelkasten.nvim": { "branch": "main", "commit": "0e77624689b470410f5355b613d45219c9350264" },
|
||||||
"zk-nvim": { "branch": "main", "commit": "5ddb53688035d115f941f0c8255f6e6618e608ac" }
|
"zk-nvim": { "branch": "main", "commit": "5ddb53688035d115f941f0c8255f6e6618e608ac" }
|
||||||
}
|
}
|
|
@ -7,31 +7,31 @@ local has_words_before = function()
|
||||||
end
|
end
|
||||||
|
|
||||||
local kind_icons = {
|
local kind_icons = {
|
||||||
Text = "",
|
Text = "",
|
||||||
Method = "",
|
Method = "",
|
||||||
Function = "",
|
Function = "",
|
||||||
Constructor = "",
|
Constructor = "",
|
||||||
Field = "",
|
Field = "",
|
||||||
Variable = "",
|
Variable = "",
|
||||||
Class = "ﴯ",
|
Class = "",
|
||||||
Interface = "",
|
Interface = "",
|
||||||
Module = "",
|
Module = "",
|
||||||
Property = "ﰠ",
|
Property = "",
|
||||||
Unit = "",
|
Unit = "",
|
||||||
Value = "",
|
Value = "V",
|
||||||
Enum = "",
|
Enum = "",
|
||||||
Keyword = "",
|
Keyword = "",
|
||||||
Snippet = "",
|
Snippet = "",
|
||||||
Color = "",
|
Color = "",
|
||||||
File = "",
|
File = "",
|
||||||
Reference = "",
|
Reference = "",
|
||||||
Folder = "",
|
Folder = "",
|
||||||
EnumMember = "",
|
EnumMember = "",
|
||||||
Constant = "",
|
Constant = "",
|
||||||
Struct = "",
|
Struct = "",
|
||||||
Event = "",
|
Event = "",
|
||||||
Operator = "",
|
Operator = "",
|
||||||
TypeParameter = "",
|
TypeParameter = "",
|
||||||
}
|
}
|
||||||
|
|
||||||
cmp.setup({
|
cmp.setup({
|
||||||
|
|
|
@ -2,7 +2,7 @@ vim.diagnostic.config({ virtual_text = true })
|
||||||
vim.fn.sign_define("DiagnosticSignError", { text = "✘", texthl = "DiagnosticSignError" })
|
vim.fn.sign_define("DiagnosticSignError", { text = "✘", texthl = "DiagnosticSignError" })
|
||||||
vim.fn.sign_define("DiagnosticSignWarn", { text = "", texthl = "DiagnosticSignWarn" })
|
vim.fn.sign_define("DiagnosticSignWarn", { text = "", texthl = "DiagnosticSignWarn" })
|
||||||
vim.fn.sign_define("DiagnosticSignInfo", { text = "", texthl = "DiagnosticSignInfo" })
|
vim.fn.sign_define("DiagnosticSignInfo", { text = "", texthl = "DiagnosticSignInfo" })
|
||||||
vim.fn.sign_define("DiagnosticSignHint", { text = "", texthl = "DiagnosticSignHint" })
|
vim.fn.sign_define("DiagnosticSignHint", { text = "", texthl = "DiagnosticSignHint" })
|
||||||
|
|
||||||
local lsp = require("lsp-setup")
|
local lsp = require("lsp-setup")
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@ local lspconfig = require("lspconfig")
|
||||||
lspconfig.pyright.setup({
|
lspconfig.pyright.setup({
|
||||||
on_attach = function(client, bufnr)
|
on_attach = function(client, bufnr)
|
||||||
on_attach(client, bufnr)
|
on_attach(client, bufnr)
|
||||||
local python_path, msg = require("util").get_python_venv(client.config.root_dir)
|
local python_path, _ = require("util").get_python_venv(client.config.root_dir)
|
||||||
vim.notify_once(string.format("[PYTHON VENV]\n%s", python_path))
|
vim.notify_once(string.format("[PYTHON VENV]\n%s", python_path))
|
||||||
client.config.settings.python.pythonPath = python_path
|
client.config.settings.python.pythonPath = python_path
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -18,6 +18,7 @@ return {
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
lazy = false,
|
||||||
ft = "quarto",
|
ft = "quarto",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -33,6 +34,7 @@ return {
|
||||||
desc = "Inspect object in kernel",
|
desc = "Inspect object in kernel",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
lazy = false,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- REPL work
|
-- REPL work
|
||||||
|
@ -51,5 +53,6 @@ return {
|
||||||
"MagmaRestart",
|
"MagmaRestart",
|
||||||
},
|
},
|
||||||
ft = { "quarto", "python" },
|
ft = { "quarto", "python" },
|
||||||
|
lazy = false,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,11 @@ return {
|
||||||
{
|
{
|
||||||
"junnplus/lsp-setup.nvim",
|
"junnplus/lsp-setup.nvim",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"neovim/nvim-lspconfig",
|
{
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
|
-- will sometimes not keep up with lsp changes if set to stable
|
||||||
|
version = false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"williamboman/mason.nvim",
|
"williamboman/mason.nvim",
|
||||||
cmd = {
|
cmd = {
|
||||||
|
|
|
@ -31,7 +31,7 @@ return {
|
||||||
},
|
},
|
||||||
generic_sorter = require("mini.fuzzy").get_telescope_sorter,
|
generic_sorter = require("mini.fuzzy").get_telescope_sorter,
|
||||||
-- Appearance
|
-- Appearance
|
||||||
prompt_prefix = " ",
|
prompt_prefix = " ",
|
||||||
selection_caret = " ",
|
selection_caret = " ",
|
||||||
color_devicons = true,
|
color_devicons = true,
|
||||||
},
|
},
|
||||||
|
|
|
@ -51,7 +51,6 @@ redirects = {
|
||||||
"odysee.076.ne.jp",
|
"odysee.076.ne.jp",
|
||||||
"librarian.pussthecat.org",
|
"librarian.pussthecat.org",
|
||||||
"lbry.mutahar.rocks",
|
"lbry.mutahar.rocks",
|
||||||
"librarian.esmailelbob.xyz",
|
|
||||||
"lbry.vern.cc",
|
"lbry.vern.cc",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@ -62,7 +61,6 @@ redirects = {
|
||||||
"teddit.adminforge.de",
|
"teddit.adminforge.de",
|
||||||
"teddit.artemislena.eu",
|
"teddit.artemislena.eu",
|
||||||
"teddit.bus-hit.me",
|
"teddit.bus-hit.me",
|
||||||
"teddit.froth.zone",
|
|
||||||
"teddit.hostux.net",
|
"teddit.hostux.net",
|
||||||
"teddit.namazso.eu",
|
"teddit.namazso.eu",
|
||||||
"teddit.net",
|
"teddit.net",
|
||||||
|
@ -98,7 +96,6 @@ redirects = {
|
||||||
"target": [
|
"target": [
|
||||||
"libremdb.iket.me",
|
"libremdb.iket.me",
|
||||||
"libremdb.pussthecat.org",
|
"libremdb.pussthecat.org",
|
||||||
"libremdb.esmailelbob.xyz",
|
|
||||||
"ld.vern.cc",
|
"ld.vern.cc",
|
||||||
"binge.whatever.social",
|
"binge.whatever.social",
|
||||||
"libremdb.lunar.icu",
|
"libremdb.lunar.icu",
|
||||||
|
@ -122,7 +119,6 @@ redirects = {
|
||||||
"proxitok.pabloferreiro.es",
|
"proxitok.pabloferreiro.es",
|
||||||
"proxitok.pussthecat.org",
|
"proxitok.pussthecat.org",
|
||||||
"tok.habedieeh.re",
|
"tok.habedieeh.re",
|
||||||
"proxitok.esmailelbob.xyz",
|
|
||||||
"proxitok.privacydev.net",
|
"proxitok.privacydev.net",
|
||||||
"proxitok.odyssey346.dev",
|
"proxitok.odyssey346.dev",
|
||||||
"tok.artemislena.eu",
|
"tok.artemislena.eu",
|
||||||
|
@ -140,18 +136,19 @@ redirects = {
|
||||||
"imgur": {
|
"imgur": {
|
||||||
"source": ["imgur.com"],
|
"source": ["imgur.com"],
|
||||||
"target": [
|
"target": [
|
||||||
"rimgo.bcow.xyz",
|
"imgur.artemislena.eu",
|
||||||
|
"ri.zzls.xyz",
|
||||||
|
"rimgo.bus-hit.me",
|
||||||
|
"rimgo.fascinated.cc",
|
||||||
|
"rimgo.hostux.net",
|
||||||
|
"rimgo.kling.gg",
|
||||||
|
"rimgo.lunar.icu",
|
||||||
|
"rimgo.marcopisco.com",
|
||||||
|
"rimgo.privacytools.io",
|
||||||
|
"rimgo.projectsegfau.lt",
|
||||||
"rimgo.pussthecat.org",
|
"rimgo.pussthecat.org",
|
||||||
"rimgo.totaldarkness.net",
|
"rimgo.totaldarkness.net",
|
||||||
"rimgo.esmailelbob.xyz",
|
"rimgo.whateveritworks.org",
|
||||||
"imgur.artemislena.eu",
|
|
||||||
"rimgo.vern.cc",
|
|
||||||
"rim.odyssey346.dev",
|
|
||||||
"rimgo.privacytools.io",
|
|
||||||
"rimgo.hostux.net",
|
|
||||||
"ri.zzls.xyz",
|
|
||||||
"rimgo.marcopisco.com",
|
|
||||||
"rimgo.lunar.icu",
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
"medium": {
|
"medium": {
|
||||||
|
@ -162,7 +159,6 @@ redirects = {
|
||||||
"scribe.citizen4.eu",
|
"scribe.citizen4.eu",
|
||||||
"scribe.bus-hit.me",
|
"scribe.bus-hit.me",
|
||||||
"scribe.froth.zone",
|
"scribe.froth.zone",
|
||||||
"scribe.esmailelbob.xyz",
|
|
||||||
"scribe.privacydev.net",
|
"scribe.privacydev.net",
|
||||||
"sc.vern.cc",
|
"sc.vern.cc",
|
||||||
],
|
],
|
||||||
|
@ -180,7 +176,6 @@ redirects = {
|
||||||
"wiki.adminforge.de",
|
"wiki.adminforge.de",
|
||||||
"wiki.froth.zone",
|
"wiki.froth.zone",
|
||||||
"wiki.slipfox.xyz",
|
"wiki.slipfox.xyz",
|
||||||
"wikiless.esmailelbob.xyz",
|
|
||||||
"wikiless.funami.tech",
|
"wikiless.funami.tech",
|
||||||
"wikiless.org",
|
"wikiless.org",
|
||||||
"wikiless.tiekoetter.com",
|
"wikiless.tiekoetter.com",
|
||||||
|
|
|
@ -298,15 +298,11 @@ nnoremap ,t :!vifm-thumbnailer -t %u %c<cr>
|
||||||
nnoremap ,T :!vifm-thumbnailer -r -t %u %c<cr>
|
nnoremap ,T :!vifm-thumbnailer -r -t %u %c<cr>
|
||||||
|
|
||||||
" allows preview to work for normal view and single pane view
|
" allows preview to work for normal view and single pane view
|
||||||
noremap <silent> w : if &quickview && !layoutis('only')
|
noremap <silent> w : if layoutis('only')
|
||||||
|
\| if &lines + 50 < &columns | vsplit | else | split | endif
|
||||||
\| view
|
\| view
|
||||||
\| else
|
\| else
|
||||||
\| if layoutis('only')
|
\| view
|
||||||
\| if &lines + 50 < &columns | vsplit | else | split | endif
|
|
||||||
\| endif
|
|
||||||
\| view!
|
|
||||||
\| execute 'qnoremap w q:view|only|qunmap w<lt>cr>'
|
|
||||||
\| execute 'wincmd w'
|
|
||||||
\| endif
|
\| endif
|
||||||
\| <cr>
|
\| <cr>
|
||||||
|
|
||||||
|
@ -429,21 +425,10 @@ filetype *.o nm %f | less
|
||||||
filetype *.[1-8] man ./%c
|
filetype *.[1-8] man ./%c
|
||||||
fileviewer *.[1-8] man ./%c | col -b
|
fileviewer *.[1-8] man ./%c | col -b
|
||||||
|
|
||||||
" Gif
|
|
||||||
filextype *.gif
|
|
||||||
\ {View in viu}
|
|
||||||
\ viu --once --name %f; read -k 1 -s -r,
|
|
||||||
\ {Loop}
|
|
||||||
\ mpv --loop=inf %f %i &,
|
|
||||||
fileviewer *.gif
|
|
||||||
\ kitty +kitten icat --silent --transfer-mode=stream --place=%pwx%ph@%pxx%py %c %N
|
|
||||||
\ %pc
|
|
||||||
\ kitty +kitten icat --clear --silent %pd
|
|
||||||
|
|
||||||
" Images
|
" Images
|
||||||
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
||||||
\ {View in viu}
|
\ {View in viu}
|
||||||
\ viu --name %f; read -k 1 -s -r,
|
\ viu --once --name %f; read -k 1 -s -r,
|
||||||
\ {View in nsxiv directory viewer}
|
\ {View in nsxiv directory viewer}
|
||||||
\ vifm-thumbnailer %c,
|
\ vifm-thumbnailer %c,
|
||||||
\ {View in imv}
|
\ {View in imv}
|
||||||
|
@ -459,7 +444,7 @@ filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
||||||
\ {View in gpicview}
|
\ {View in gpicview}
|
||||||
\ gpicview %c,
|
\ gpicview %c,
|
||||||
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
||||||
\ viu -b -w %pw -h %ph %c
|
\ viu -b -w %pw -h %ph -s %c
|
||||||
|
|
||||||
" OpenRaster
|
" OpenRaster
|
||||||
filextype *.ora
|
filextype *.ora
|
||||||
|
|
|
@ -37,7 +37,7 @@ local function setup()
|
||||||
|
|
||||||
-- Retrieve the current scrollback text and send to editor
|
-- Retrieve the current scrollback text and send to editor
|
||||||
wezterm.on("edit-scrollback", function(window, pane)
|
wezterm.on("edit-scrollback", function(window, pane)
|
||||||
local viewport_text = pane:get_lines_as_text(10000)
|
local viewport_text = pane:get_logical_lines_as_text(10000)
|
||||||
|
|
||||||
-- Create a temporary file to pass to vim
|
-- Create a temporary file to pass to vim
|
||||||
local name = os.tmpname()
|
local name = os.tmpname()
|
||||||
|
|
Loading…
Reference in a new issue