Compare commits
4 commits
6ab25d83cd
...
c0a68300b7
Author | SHA1 | Date | |
---|---|---|---|
c0a68300b7 | |||
5b1d993118 | |||
82b7f6fb3d | |||
88ac7021fc |
8 changed files with 48 additions and 73 deletions
|
@ -72,7 +72,7 @@ printf " ${BOLD}->>${CYAN} %s${END}\n" "${DIR}"
|
|||
|
||||
printf "opening ${BOLD}%s${END} using %s\n" "$URL" "$BROWSER"
|
||||
echo '---------------'
|
||||
"$BROWSER" "$URL" >/dev/null 2>&1 &
|
||||
python -m webbrowser "$URL" >/dev/null 2>&1 &
|
||||
|
||||
# first change directory in case python<3.7
|
||||
ssh -tL localhost:"$PORT":localhost:"$PORT" "$USER_HOST" \
|
||||
|
|
|
@ -1,62 +0,0 @@
|
|||
{
|
||||
"LazyVim": { "branch": "main", "commit": "5c1656729aeb39fbb8dc29d4f3d6d86d0836f8b4" },
|
||||
"bufferline.nvim": { "branch": "main", "commit": "357cc8f8eeb64702e6fcf2995e3b9becee99a5d3" },
|
||||
"catppuccin": { "branch": "main", "commit": "dcef0a062de380885193fb0f919217d58b979753" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||
"cmp-emoji": { "branch": "main", "commit": "19075c36d5820253d32e2478b6aaf3734aeaafa0" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" },
|
||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
||||
"conform.nvim": { "branch": "master", "commit": "2e8b826cb4af5cf36b5febc5e7a71d3284f161f2" },
|
||||
"dashboard-nvim": { "branch": "master", "commit": "fd68b9d05aedc57e5d97a6b66a4e3db877872f64" },
|
||||
"dressing.nvim": { "branch": "master", "commit": "1f2d1206a03bd3add8aedf6251e4534611de577f" },
|
||||
"edgy.nvim": { "branch": "main", "commit": "8355be45610afdf79a0bab32b91ee297997455b4" },
|
||||
"flash.nvim": { "branch": "main", "commit": "48817af25f51c0590653bbc290866e4890fe1cbe" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "5a9a6ac29a7805c4783cda21b80a1e361964b3f2" },
|
||||
"headlines.nvim": { "branch": "master", "commit": "74a083a3c32a08be24f7dfcc6f448ecf47857f46" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "9301e434dd41154ffe5c3d5b8a5c9acd075ebeff" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "c7298a10db9b9ef975472827e5898b0c494b70bd" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "1a3f6bba410aff5a51bf8c84287aaa3a8ba30d0d" },
|
||||
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "e7b64c11035aa924f87385b72145e0ccf68a7e0a" },
|
||||
"mason.nvim": { "branch": "main", "commit": "cd7835b15f5a4204fc37e0aa739347472121a54c" },
|
||||
"mini.ai": { "branch": "main", "commit": "10ad2ed049fb681a829b44aeb23443c0a9c910ae" },
|
||||
"mini.bufremove": { "branch": "main", "commit": "75be0b153b0cd2499c031e57d44cde8dad4766e4" },
|
||||
"mini.comment": { "branch": "main", "commit": "2c7a512dad27e34a26d0f7d5d5bc2579f88167dc" },
|
||||
"mini.indentscope": { "branch": "main", "commit": "cbc07203ca8faae952ca373c1f6cc5881ce97af0" },
|
||||
"mini.pairs": { "branch": "main", "commit": "6f6bd7ed5757b40bc29c73dac0d743e4e6978124" },
|
||||
"mini.surround": { "branch": "main", "commit": "68ce058ef9716d7d955b79363845d2dd003d6500" },
|
||||
"neo-tree.nvim": { "branch": "v3.x", "commit": "6f8c49956c89e9fefae6acdfe1d57c6293b0a03d" },
|
||||
"neoconf.nvim": { "branch": "main", "commit": "c87c862a14a4c8c0e2bc823d304e4da472fd7180" },
|
||||
"neodev.nvim": { "branch": "main", "commit": "24b403eabde652904077f84fd55441744e77a109" },
|
||||
"nim.nvim": { "branch": "master", "commit": "87afde2ae995723e0338e1851c3b3c1cbd81d955" },
|
||||
"noice.nvim": { "branch": "main", "commit": "e50fc6de68333633fa9eaaa54cb4cdfe7de5f25a" },
|
||||
"none-ls.nvim": { "branch": "main", "commit": "ae339f45590cc421a68de885fc5a3261cc247362" },
|
||||
"nui.nvim": { "branch": "main", "commit": "c0c8e347ceac53030f5c1ece1c5a5b6a17a25b32" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "5dce1b778b85c717f6614e3f4da45e9f19f54435" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "e49b1e90c1781ce372013de3fa93a91ea29fc34a" },
|
||||
"nvim-notify": { "branch": "master", "commit": "e4a2022f4fec2d5ebc79afa612f96d8b11c627b3" },
|
||||
"nvim-spectre": { "branch": "master", "commit": "696cff781a4a7ecc91549736835e2acbd00fe859" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "9c4fc86b67c1d68141cef57846d24cbee9b74fb0" },
|
||||
"nvim-treesitter-context": { "branch": "master", "commit": "82c695951612911421e8e21068ba5fc2c2e2c212" },
|
||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "78c49ca7d2f7ccba2115c11422c037713c978ad1" },
|
||||
"nvim-ts-autotag": { "branch": "main", "commit": "6be1192965df35f94b8ea6d323354f7dc7a557e4" },
|
||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "92e688f013c69f90c9bbd596019ec10235bc51de" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "3af745113ea537f58c4b1573b64a429fefad9e07" },
|
||||
"persistence.nvim": { "branch": "main", "commit": "ad538bfd5336f1335cdb6fd4e0b0eebfa6e12f32" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
|
||||
"rasi.vim": { "branch": "main", "commit": "eac9969cf935cd4380987dc99bfa10d69d3f34a6" },
|
||||
"suda.vim": { "branch": "master", "commit": "8b0fc3711760195aba104e2d190cff9af8267052" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "74ce793a60759e3db0d265174f137fb627430355" },
|
||||
"todo-comments.nvim": { "branch": "main", "commit": "3094ead8edfa9040de2421deddec55d3762f64d1" },
|
||||
"trouble.nvim": { "branch": "main", "commit": "02219b557d4726a789be58c5d6bd6e139c46a9fe" },
|
||||
"vim-hjson": { "branch": "master", "commit": "adc104d4a4041a482e1af1914895a119e343c7e1" },
|
||||
"vim-illuminate": { "branch": "master", "commit": "3bd2ab64b5d63b29e05691e624927e5ebbf0fb86" },
|
||||
"vim-nix": { "branch": "master", "commit": "1e8d3cc4d74f40fb384cd1739739543fe117ff61" },
|
||||
"vim-snakemake": { "branch": "master", "commit": "d0015a0f86150c59fb55f65b41529e6ff4469e18" },
|
||||
"vim-startuptime": { "branch": "master", "commit": "454b3de856b7bd298700de33d79774ca9b9e3875" },
|
||||
"vimtex": { "branch": "master", "commit": "cbb20643b7bfe721902dac5760bf0d4889fb5f7e" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "3a5383161996b36698139f2a425d83ca05b13f83" },
|
||||
"zk-nvim": { "branch": "main", "commit": "e9e5e21dbeacd0e753728c7ea45b7a7582d9080a" }
|
||||
}
|
|
@ -64,8 +64,6 @@ return {
|
|||
"json",
|
||||
"latex",
|
||||
"lua",
|
||||
"luadoc",
|
||||
"luap",
|
||||
"markdown",
|
||||
"markdown_inline",
|
||||
"nix",
|
||||
|
@ -78,7 +76,7 @@ return {
|
|||
"vimdoc",
|
||||
"yaml",
|
||||
"yuck",
|
||||
"zig"
|
||||
"zig",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
39
home/private_dot_config/nvim/lua/plugins/host.lua
Normal file
39
home/private_dot_config/nvim/lua/plugins/host.lua
Normal file
|
@ -0,0 +1,39 @@
|
|||
local hostname = vim.fn.hostname()
|
||||
local plugins = {}
|
||||
|
||||
local single_host_plugins = {
|
||||
othalan = {
|
||||
-- https://github.com/nvim-treesitter/nvim-treesitter/pull/5437
|
||||
-- { "aMOPel/nvim-treesitter-nim" }
|
||||
{ "kaarmu/typst.vim" },
|
||||
{
|
||||
"mickael-menu/zk-nvim",
|
||||
config = function()
|
||||
require("zk").setup({
|
||||
-- See Setup section below
|
||||
})
|
||||
end,
|
||||
},
|
||||
{ "Fymyte/rasi.vim" },
|
||||
{ dir = "~/dev/github/usu-dev/usu-vim/" },
|
||||
},
|
||||
algiz = {
|
||||
{ "LnL7/vim-nix" },
|
||||
},
|
||||
}
|
||||
|
||||
local function add_single_host_plugins()
|
||||
if vim.list_contains(vim.tbl_keys(single_host_plugins), hostname) then
|
||||
vim.list_extend(plugins, single_host_plugins[hostname])
|
||||
end
|
||||
end
|
||||
|
||||
if vim.list_contains({ "othalan", "algiz" }, hostname) then
|
||||
vim.list_extend(plugins, {
|
||||
{ "lambdalisue/suda.vim" },
|
||||
})
|
||||
end
|
||||
|
||||
add_single_host_plugins()
|
||||
|
||||
return plugins
|
|
@ -1,6 +1,4 @@
|
|||
return {
|
||||
{ "LnL7/vim-nix" },
|
||||
{ "alaviss/nim.nvim" },
|
||||
{ "raivivek/vim-snakemake" },
|
||||
{ "Fymyte/rasi.vim" },
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
return {
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
autoformat = false,
|
||||
-- autoformat = false,
|
||||
servers = {
|
||||
pylsp = {
|
||||
settings = {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
return {
|
||||
{
|
||||
"nvimdev/dashboard-nvim",
|
||||
opts = function (_, opts)
|
||||
opts = function(_, opts)
|
||||
local logo = [[
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣤⡤⠴⠶⠶⠶⠶⠦⢤⣤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⠶⠛⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⠶⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
|
@ -34,9 +34,9 @@ return {
|
|||
-- return colors[math.random(#colors)]
|
||||
-- end
|
||||
--
|
||||
opts.config.header = vim.split(logo,"\n")
|
||||
opts.config.header = vim.split(logo, "\n")
|
||||
return opts
|
||||
end
|
||||
end,
|
||||
},
|
||||
{
|
||||
"folke/edgy.nvim",
|
||||
|
|
|
@ -127,7 +127,9 @@ function catppuccin.select(palette)
|
|||
selection_bg = colors[palette].surface2,
|
||||
selection_fg = colors[palette].text,
|
||||
ansi = {
|
||||
colors[palette].overlay0,
|
||||
-- colors[palette].overlay0,
|
||||
-- use base as black for better compatibility
|
||||
colors[palette].base,
|
||||
colors[palette].red,
|
||||
colors[palette].green,
|
||||
colors[palette].yellow,
|
||||
|
|
Loading…
Reference in a new issue