From 4b28dd83a0f96095c87aad219ba4313d8e4bc4c1 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 2 Oct 2023 13:35:59 -0500 Subject: [PATCH] out with the old --- .../astronvim/executable_install.sh | 64 -- .../astronvim/lua/user/colorscheme.lua | 1 - .../astronvim/lua/user/header.lua | 45 -- .../astronvim/lua/user/lsp/formatting.lua | 10 - .../astronvim/lua/user/mappings.lua | 40 -- .../astronvim/lua/user/options.lua | 20 - .../astronvim/lua/user/plugins/init.lua | 35 - .../lua/user/plugins/mason-lspconfig.lua | 12 - .../lua/user/plugins/mason-null-ls.lua | 10 - .../astronvim/lua/user/plugins/which-key.lua | 1 - .../astronvim/lua/user/polish.lua | 5 - .../patches/0001-remove-version-check.patch | 26 - home/private_dot_config/atuin/config.toml | 28 - home/private_dot_config/lvim/config.lua | 5 - .../lvim/ftplugin/markdown.lua | 29 - .../lvim/lua/autocommands.lua | 8 - home/private_dot_config/lvim/lua/commands.lua | 78 --- .../lvim/lua/config/nvim-transparent.lua | 15 - .../private_dot_config/lvim/lua/config/zk.lua | 20 - .../lvim/lua/keybindings.lua | 64 -- home/private_dot_config/lvim/lua/lsp.lua | 1 - home/private_dot_config/lvim/lua/plugins.lua | 95 --- home/private_dot_config/lvim/lua/settings.lua | 31 - home/private_dot_config/sheldon/plugins.toml | 47 -- home/private_dot_config/zellij/config.yaml | 607 ------------------ 25 files changed, 1297 deletions(-) delete mode 100644 home/private_dot_config/astronvim/executable_install.sh delete mode 100644 home/private_dot_config/astronvim/lua/user/colorscheme.lua delete mode 100644 home/private_dot_config/astronvim/lua/user/header.lua delete mode 100644 home/private_dot_config/astronvim/lua/user/lsp/formatting.lua delete mode 100644 home/private_dot_config/astronvim/lua/user/mappings.lua delete mode 100644 home/private_dot_config/astronvim/lua/user/options.lua delete mode 100644 home/private_dot_config/astronvim/lua/user/plugins/init.lua delete mode 100644 home/private_dot_config/astronvim/lua/user/plugins/mason-lspconfig.lua delete mode 100644 home/private_dot_config/astronvim/lua/user/plugins/mason-null-ls.lua delete mode 100644 home/private_dot_config/astronvim/lua/user/plugins/which-key.lua delete mode 100644 home/private_dot_config/astronvim/lua/user/polish.lua delete mode 100644 home/private_dot_config/astronvim/patches/0001-remove-version-check.patch delete mode 100644 home/private_dot_config/atuin/config.toml delete mode 100644 home/private_dot_config/lvim/config.lua delete mode 100644 home/private_dot_config/lvim/ftplugin/markdown.lua delete mode 100644 home/private_dot_config/lvim/lua/autocommands.lua delete mode 100644 home/private_dot_config/lvim/lua/commands.lua delete mode 100644 home/private_dot_config/lvim/lua/config/nvim-transparent.lua delete mode 100644 home/private_dot_config/lvim/lua/config/zk.lua delete mode 100644 home/private_dot_config/lvim/lua/keybindings.lua delete mode 100644 home/private_dot_config/lvim/lua/lsp.lua delete mode 100644 home/private_dot_config/lvim/lua/plugins.lua delete mode 100644 home/private_dot_config/lvim/lua/settings.lua delete mode 100644 home/private_dot_config/sheldon/plugins.toml delete mode 100644 home/private_dot_config/zellij/config.yaml diff --git a/home/private_dot_config/astronvim/executable_install.sh b/home/private_dot_config/astronvim/executable_install.sh deleted file mode 100644 index 377f977..0000000 --- a/home/private_dot_config/astronvim/executable_install.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/usr/bin/env bash - -set -e - -deps=( - rg # ripgrep - lazygit - gdu - btm # bottom - python - node - tree-sitter -) - -# TODO: make sure tree-sitter is rust version? - -is-cmd() { - if [ -x "$(command -v "$1")" ]; then - return 0 - else - return 1 - fi -} - -install-astronvim() { - echo "Installing astronvim" - - if [[ -d ~/.config/nvim ]]; then - echo "backing up old nvim config" - mv ~/.config/nvim ~/.config/nvim.bak-"$(date +'%s')" - fi - - if [[ -d ~/.local/share/nvim ]]; then - echo "backing up old nvim directory" - mv ~/.local/share/nvim ~/.local/share/nvim-"$(date +'%s')" - mkdir ~/.local/share/nvim - fi - - git clone https://github.com/AstroNvim/AstroNvim ~/.config/nvim - - # echo "add brute force method of ignoring version complaints" - # git -C "$HOME/.config/nvim" am "$HOME/.config/astronvim/patches/0001-remove-version-check.patch" - - nvim --headless -c 'autocmd User PackerComplete quitall' -} - -echo "Checking for optional dependencies" - -check-dep() { - if is-cmd "$1"; then - printf '%15s \033[32m%s\033[0m\n' "$1" 'yes' - else - printf '%15s \033[31m%s\033[0m\n' "$1" 'no' - fi -} - -install-astronvim - -echo -echo "checking for dependencies" - -for dep in "${deps[@]}"; do - check-dep "$dep" -done diff --git a/home/private_dot_config/astronvim/lua/user/colorscheme.lua b/home/private_dot_config/astronvim/lua/user/colorscheme.lua deleted file mode 100644 index b26b301..0000000 --- a/home/private_dot_config/astronvim/lua/user/colorscheme.lua +++ /dev/null @@ -1 +0,0 @@ -return "catppuccin" diff --git a/home/private_dot_config/astronvim/lua/user/header.lua b/home/private_dot_config/astronvim/lua/user/header.lua deleted file mode 100644 index bbc2e7d..0000000 --- a/home/private_dot_config/astronvim/lua/user/header.lua +++ /dev/null @@ -1,45 +0,0 @@ -return { - -- Ansi-shadow -[[ ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗]], -[[ ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║]], -[[ ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║]], -[[ ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║]], -[[ ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║]], -[[ ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝]], -} - --Big-money - -- [[ /$$ ]], - -- [[ |__/ ]], - -- [[ /$$$$$$$ /$$$$$$ /$$$$$$ /$$ /$$ /$$ /$$$$$$/$$$$ ]], - -- [[| $$__ $$ /$$__ $$ /$$__ $$| $$ /$$/| $$| $$_ $$_ $$]], - -- [[| $$ \ $$| $$$$$$$$| $$ \ $$ \ $$/$$/ | $$| $$ \ $$ \ $$]], - -- [[| $$ | $$| $$_____/| $$ | $$ \ $$$/ | $$| $$ | $$ | $$]], - -- [[| $$ | $$| $$$$$$$| $$$$$$/ \ $/ | $$| $$ | $$ | $$]], - -- [[|__/ |__/ \_______/ \______/ \_/ |__/|__/ |__/ |__/]], - -- --- [[ _______________________________________ ]], --- [[ |,---"-----------------------------"---,| ]], --- [[ ||___ 16 bit.................... || ]], --- [[ ||====\ :HHHHHHHHHHHHHHHHHHHHHHHHHHH || ]], --- [[ ||=====):H c> nvim H || ]], --- [[ ||====/ :H H || ]], --- [[ || :H H || ]], --- [[ ||PORTFO:H H || ]], --- [[ || :HHHHHHHHHHHHHHHHHHHHHHHHHHH || ]], --- [[ ||_____,_________________________,_____|| ]], --- [[ |)_____)-----.| /I\ATARI |.------(_____(| ]], --- [[ //"""""""|_____|=----------=|______|"""""""\ ]], --- [[ // _| _| _| _| _| _| _| _| _| _| _| _| _| _| \ ]], --- [[ // ___| _| _| _| _| _| _| _| _| _| _| _| | | \ ]], --- [[ |/ ___| _| _| _| _| _| _| _| _| _| _| _| ______| \ ]], --- [[ / __| _| _| _| _| _| _| _| _| _| _| _| _| _| ___| \ ]], --- [[ / _| _| _| _| ________________________| _| _| _| _| \ ]], --- [[|------"--------------------------------------"-------|]], --- [[`-----------------------------------------------------']], - --- simpler header ---[[ -╦ ╦ ╦╔╗╔╔═╗╦═╗╦ ╦╦╔╦╗ -║ ║ ║║║║╠═╣╠╦╝╚╗╔╝║║║║ -╩═╝╚═╝╝╚╝╩ ╩╩╚═ ╚╝ ╩╩ ╩ -]] -- diff --git a/home/private_dot_config/astronvim/lua/user/lsp/formatting.lua b/home/private_dot_config/astronvim/lua/user/lsp/formatting.lua deleted file mode 100644 index f63fae9..0000000 --- a/home/private_dot_config/astronvim/lua/user/lsp/formatting.lua +++ /dev/null @@ -1,10 +0,0 @@ -return { - format_on_save = { - enabled = true, -- enable format on save - ignore_filetypes = { -- disable format on save for specified filetypes - "markdown", - "python", - "html", - }, - }, -} diff --git a/home/private_dot_config/astronvim/lua/user/mappings.lua b/home/private_dot_config/astronvim/lua/user/mappings.lua deleted file mode 100644 index 62f6e12..0000000 --- a/home/private_dot_config/astronvim/lua/user/mappings.lua +++ /dev/null @@ -1,40 +0,0 @@ --- Mapping data with "desc" stored directly by vim.keymap.set(). --- --- Please use this mappings table to set keyboard mapping since this is the --- lower level configuration and more robust one. (which-key will --- automatically pick-up stored data by this setting.) -return { - -- first key is the mode - n = { - -- second key is the lefthand side of the map - -- mappings seen under group name "Buffer" - ["bb"] = { "tabnew", desc = "New tab" }, - ["bc"] = { "BufferLinePickClose", desc = "Pick to close" }, - ["bj"] = { "BufferLinePick", desc = "Pick to jump" }, - ["bt"] = { "BufferLineSortByTabs", desc = "Sort by tabs" }, - ["bp"] = { ":bp", desc = "Previous Buffer" }, - -- disable default bindings - [""] = false, - [""] = false, - [""] = false, - [""] = false, - [""] = false, - [""] = false, - ["sb"] = false, - ["sc"] = false, - ["sh"] = false, - ["sk"] = false, - ["sm"] = false, - ["sn"] = false, - ["sr"] = false, - ["q:"] = "", - -- navigating wrapped lines - j = { "gj", desc = "Navigate down" }, - k = { "gk", desc = "Navigate down" }, - }, -} - --- map('n', 'j', "v:count ? 'j' : 'gj'", { expr = true, noremap = true }) --- map('n', 'k', "v:count ? 'k' : 'gk'", { expr = true, noremap = true }) --- map('n', "","}",{noremap = true}) --- map('n', "","{",{noremap = true}) diff --git a/home/private_dot_config/astronvim/lua/user/options.lua b/home/private_dot_config/astronvim/lua/user/options.lua deleted file mode 100644 index ad7fe40..0000000 --- a/home/private_dot_config/astronvim/lua/user/options.lua +++ /dev/null @@ -1,20 +0,0 @@ --- from https://code.mehalter.com/projects/68/files -return { - opt = { - conceallevel = 2, -- enable conceal - foldenable = false, - foldexpr = "nvim_treesitter#foldexpr()", -- set Treesitter based folding - foldmethod = "expr", - linebreak = true, -- linebreak soft wrap at words - list = true, -- show whitespace characters - listchars = { tab = "│→", extends = "⟩", precedes = "⟨", trail = "·", nbsp = "␣" }, - showbreak = "↪ ", - spellfile = vim.fn.expand("~/.config/astronvim/lua/user/spell/en.utf-8.add"), - timeoutlen = 300, - thesaurus = vim.fn.expand("~/.config/astronvim/lua/user/spell/mthesaur.txt"), - wrap = true, -- soft wrap lines - }, - g = { - matchup_matchparen_deferred = 1, - }, -} diff --git a/home/private_dot_config/astronvim/lua/user/plugins/init.lua b/home/private_dot_config/astronvim/lua/user/plugins/init.lua deleted file mode 100644 index 8afaeae..0000000 --- a/home/private_dot_config/astronvim/lua/user/plugins/init.lua +++ /dev/null @@ -1,35 +0,0 @@ --- load config from local file... --- local p = function(name) --- return string.format("require'config.%s'", name) --- end - --- d for default :P -local d = function(name) - return string.format("require'%s'.setup({})", name) -end - -return { - { "lambdalisue/suda.vim" }, -- for sudo reading and writing - -- theming - { - "catppuccin/nvim", - as = "catppuccin", - config = d("zk"), - }, - -- language specific - { "LnL7/vim-nix" }, - { "alaviss/nim.nvim" }, - { - "quarto-dev/quarto-vim", - requires = { - { "vim-pandoc/vim-pandoc-syntax" }, - }, - ft = { "quarto" }, - }, - { "kenkundert/vim-nestedtext" }, - -- general tools - { - "mickael-menu/zk-nvim", - config = d("zk"), - }, -} diff --git a/home/private_dot_config/astronvim/lua/user/plugins/mason-lspconfig.lua b/home/private_dot_config/astronvim/lua/user/plugins/mason-lspconfig.lua deleted file mode 100644 index a8af2c2..0000000 --- a/home/private_dot_config/astronvim/lua/user/plugins/mason-lspconfig.lua +++ /dev/null @@ -1,12 +0,0 @@ -return { - ensure_installed = { - "cssls", - "gopls", - "html", - "jsonls", - -- "pyright", - "sumneko_lua", - "texlab", - "yamlls", - }, -} diff --git a/home/private_dot_config/astronvim/lua/user/plugins/mason-null-ls.lua b/home/private_dot_config/astronvim/lua/user/plugins/mason-null-ls.lua deleted file mode 100644 index 62dcc14..0000000 --- a/home/private_dot_config/astronvim/lua/user/plugins/mason-null-ls.lua +++ /dev/null @@ -1,10 +0,0 @@ -return { - ensure_installed = { - "shellcheck", - "stylua", - "black", - "isort", - "shfmt", - "shellcheck", - }, -} diff --git a/home/private_dot_config/astronvim/lua/user/plugins/which-key.lua b/home/private_dot_config/astronvim/lua/user/plugins/which-key.lua deleted file mode 100644 index e8ac79a..0000000 --- a/home/private_dot_config/astronvim/lua/user/plugins/which-key.lua +++ /dev/null @@ -1 +0,0 @@ -return { window = { border = "none" } } diff --git a/home/private_dot_config/astronvim/lua/user/polish.lua b/home/private_dot_config/astronvim/lua/user/polish.lua deleted file mode 100644 index 3af46e9..0000000 --- a/home/private_dot_config/astronvim/lua/user/polish.lua +++ /dev/null @@ -1,5 +0,0 @@ -return function() - vim.cmd([[ - autocmd BufNewFile,BufRead Knitfile set syntax=lua - ]]) -end diff --git a/home/private_dot_config/astronvim/patches/0001-remove-version-check.patch b/home/private_dot_config/astronvim/patches/0001-remove-version-check.patch deleted file mode 100644 index 3d0a162..0000000 --- a/home/private_dot_config/astronvim/patches/0001-remove-version-check.patch +++ /dev/null @@ -1,26 +0,0 @@ -From ddbb42f330a8d09980c812f5c05b6d8123a767ea Mon Sep 17 00:00:00 2001 -From: Daylin Morgan -Date: Mon, 28 Nov 2022 18:47:52 -0600 -Subject: [PATCH] remove version check - ---- - init.lua | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/init.lua b/init.lua -index 2bf8f14..649f5f5 100644 ---- a/init.lua -+++ b/init.lua -@@ -16,6 +16,6 @@ end - - astronvim.conditional_func(astronvim.user_plugin_opts("polish", nil, false)) - --if vim.fn.has "nvim-0.8" ~= 1 or vim.version().prerelease then -- vim.schedule(function() astronvim.notify("Unsupported Neovim Version! Please check the requirements", "error") end) --end -+-- if vim.fn.has "nvim-0.8" ~= 1 or vim.version().prerelease then -+ -- vim.schedule(function() astronvim.notify("Unsupported Neovim Version! Please check the requirements", "error") end) -+-- end --- -2.38.1 - diff --git a/home/private_dot_config/atuin/config.toml b/home/private_dot_config/atuin/config.toml deleted file mode 100644 index de25f96..0000000 --- a/home/private_dot_config/atuin/config.toml +++ /dev/null @@ -1,28 +0,0 @@ -## where to store your database, default is your system data directory -## mac: ~/Library/Application Support/com.elliehuxtable.atuin/history.db -## linux: ~/.local/share/atuin/history.db -# db_path = "~/.history.db" - -## where to store your encryption key, default is your system data directory -# key_path = "~/.key" - -## where to store your auth session token, default is your system data directory -# session_path = "~/.key" - -## date format used, either "us" or "uk" -# dialect = "uk" - -## enable or disable automatic sync -# auto_sync = true - -## how often to sync history. note that this is only triggered when a command -## is ran, so sync intervals may well be longer -## set it to 0 to sync after every command -# sync_frequency = "5m" - -## address of the sync server -# sync_address = "https://api.atuin.sh" - -## which search mode to use -## possible values: prefix, fulltext, fuzzy -search_mode = "fuzzy" diff --git a/home/private_dot_config/lvim/config.lua b/home/private_dot_config/lvim/config.lua deleted file mode 100644 index 8c8b59a..0000000 --- a/home/private_dot_config/lvim/config.lua +++ /dev/null @@ -1,5 +0,0 @@ -require('settings') -require('plugins') -require('keybindings') -require('autocommands') -require('lsp') diff --git a/home/private_dot_config/lvim/ftplugin/markdown.lua b/home/private_dot_config/lvim/ftplugin/markdown.lua deleted file mode 100644 index c6d39a4..0000000 --- a/home/private_dot_config/lvim/ftplugin/markdown.lua +++ /dev/null @@ -1,29 +0,0 @@ - -local _, util = pcall(require, "zk.util") - --- Add the key mappings only for Markdown files in a zk notebook. -if util.notebook_root(vim.fn.expand('%:p')) ~= nil then - local function map(...) vim.api.nvim_buf_set_keymap(0, ...) end - local opts = { noremap=true, silent=false } - -- Open the link under the caret. - map("n", "", "lua vim.lsp.buf.definition()", opts) - -- Create a new note after asking for its title. - -- This overrides the global `zn` mapping to create the note in the same directory as the current buffer. - map("n", "zn", "ZkNew { dir = vim.fn.expand('%:p:h'), title = vim.fn.input('Title: ') }", opts) - -- Create a new note in the same directory as the current buffer, using the current selection for title. - map("v", "znt", ":'<,'>ZkNewFromTitleSelection { dir = vim.fn.expand('%:p:h') }", opts) - -- Create a new note in the same directory as the current buffer, using the current selection for note content and asking for its title. - map("v", "znc", ":'<,'>ZkNewFromContentSelection { dir = vim.fn.expand('%:p:h'), title = vim.fn.input('Title: ') }", opts) - - -- Open notes linking to the current buffer. - map("n", "zb", "ZkBacklinks", opts) - -- Alternative for backlinks using pure LSP and showing the source context. - --map('n', 'zb', 'lua vim.lsp.buf.references()', opts) - -- Open notes linked by the current buffer. - map("n", "zl", "ZkLinks", opts) - - -- Preview a linked note. - map("n", "K", "lua vim.lsp.buf.hover()", opts) - -- Open the code actions for a visual selection. - map("v", "za", ":'<,'>lua vim.lsp.buf.range_code_action()", opts) -end diff --git a/home/private_dot_config/lvim/lua/autocommands.lua b/home/private_dot_config/lvim/lua/autocommands.lua deleted file mode 100644 index 4f2445f..0000000 --- a/home/private_dot_config/lvim/lua/autocommands.lua +++ /dev/null @@ -1,8 +0,0 @@ --- Is this necessary? -vim.api.nvim_create_autocmd("FileType", { - pattern = "zsh", - callback = function() - -- let treesitter use bash highlight for zsh files as well - require("nvim-treesitter.highlight").attach(0, "bash") - end, -}) diff --git a/home/private_dot_config/lvim/lua/commands.lua b/home/private_dot_config/lvim/lua/commands.lua deleted file mode 100644 index d0db091..0000000 --- a/home/private_dot_config/lvim/lua/commands.lua +++ /dev/null @@ -1,78 +0,0 @@ --- local _, zk = pcall(require, "zk") --- local _, commands = pcall(require, "zk.commands") - --- TODO: figure out what's wrong with these .... --- local function dump(o) --- if type(o) == 'table' then --- local s = '{ ' --- for k, v in pairs(o) do --- if type(k) ~= 'number' then k = '"' .. k .. '"' end --- s = s .. '[' .. k .. '] = ' .. dump(v) .. ',' --- end --- return s .. '} ' --- else --- return tostring(o) --- end --- end - --- commands.add("ZkLinkTo", function(options) --- zk.pick_notes(options, { title = "ZkLinkTo" }, function(notes) --- local note = notes[1] --- local title = '' --- print(dump(note)) --- if note.title then --- title = note.title --- else --- title = "Untitled" --- end --- local link = "[" .. title .. "](" .. note.absPath .. ")" --- print(link) --- -- notes = { notes } --- for i, note in ipairs(notes) do --- print(i) --- print(note.title) --- if note.title then --- print("[" .. note.title .. "](" .. note.absPath .. ")") --- link = "[" .. note.title .. "](" .. note.absPath .. ")" --- else --- print('no title brah') --- link = 'other lin' --- print(link) --- end --- print(link) --- print(note.absPath) --- -- -- vim.cmd("e " .. note.absPath) --- end --- end) --- end) - --- commands.add("ZkListLin", function(options) --- zk.pick_notes(options, { title = "ZkLinkTo" }, function(notes) --- local note = notes[1] --- local title = '' --- print(dump(note)) --- if note.title then --- title = note.title --- else --- title = "Untitled" --- end --- local link = "[" .. title .. "](" .. note.absPath .. ")" --- print(link) --- -- notes = { notes } --- for i, note in ipairs(notes) do --- print(i) --- print(note.title) --- if note.title then --- print("[" .. note.title .. "](" .. note.absPath .. ")") --- link = "[" .. note.title .. "](" .. note.absPath .. ")" --- else --- print('no title brah') --- link = 'other lin' --- print(link) --- end --- print(link) --- print(note.absPath) --- -- -- vim.cmd("e " .. note.absPath) --- end --- end) --- end) diff --git a/home/private_dot_config/lvim/lua/config/nvim-transparent.lua b/home/private_dot_config/lvim/lua/config/nvim-transparent.lua deleted file mode 100644 index 28bcb84..0000000 --- a/home/private_dot_config/lvim/lua/config/nvim-transparent.lua +++ /dev/null @@ -1,15 +0,0 @@ -require("transparent").setup({ - enable = true, -- boolean: enable transparent - extra_groups = { -- table/string: additional groups that should be cleared - -- In particular, when you set it to 'all', that means all available groups - - -- example of akinsho/nvim-bufferline.lua - "BufferLineTabClose", - "BufferlineBufferSelected", - "BufferLineFill", - "BufferLineBackground", - "BufferLineSeparator", - "BufferLineIndicatorSelected", - }, - exclude = {}, -- table: groups you don't want to clear -}) diff --git a/home/private_dot_config/lvim/lua/config/zk.lua b/home/private_dot_config/lvim/lua/config/zk.lua deleted file mode 100644 index dcac519..0000000 --- a/home/private_dot_config/lvim/lua/config/zk.lua +++ /dev/null @@ -1,20 +0,0 @@ -require("zk").setup({ - -- can be "telescope", "fzf" or "select" (`vim.ui.select`) - -- it's recommended to use "telescope" or "fzf" - picker = "telescope", - lsp = { - -- `config` is passed to `vim.lsp.start_client(config)` - config = { - cmd = { "zk", "lsp" }, - name = "zk", - -- on_attach = ... - -- etc, see `:h vim.lsp.start_client()` - }, - - -- automatically attach buffers in a zk notebook that match the given filetypes - auto_attach = { - enabled = true, - filetypes = { "markdown" }, - }, - }, -}) diff --git a/home/private_dot_config/lvim/lua/keybindings.lua b/home/private_dot_config/lvim/lua/keybindings.lua deleted file mode 100644 index c34b509..0000000 --- a/home/private_dot_config/lvim/lua/keybindings.lua +++ /dev/null @@ -1,64 +0,0 @@ --- Map a key with optional options -local function map(mode, keys, action, options) - if options == nil then - options = { noremap = true } - end - vim.api.nvim_set_keymap(mode, keys, action, options) -end - -vim.g.mapleader = " " - -map('i', 'jk', '', { noremap = true }) -map('v', 'jk', '', { noremap = true }) -map('n', "H", "^", { noremap = true }) -map('n', "L", "$", { noremap = true }) -map('n', 'j', "v:count ? 'j' : 'gj'", { expr = true, noremap = true }) -map('n', 'k', "v:count ? 'k' : 'gk'", { expr = true, noremap = true }) -map('n', "","}",{noremap = true}) -map('n', "","{",{noremap = true}) - --- zettelkasten keybindings --- Create a new note after asking for its title. --- map("n", "zn", "ZkNew { title = vim.fn.input('Title: ') }") - --- -- Open notes. --- map("n", "zo", "ZkNotes { sort = { 'modified' } }") --- -- Open notes associated with the selected tags. --- map("n", "zt", "ZkTags") - --- -- Search for the notes matching a given query. --- map("n", "zf", "ZkNotes { sort = { 'modified' }, match = vim.fn.input('Search: ') }") --- -- Search for the notes matching the current visual selection. - -map("v", "zf", ":'<,'>ZkMatch") - -local mappings = lvim.builtin.which_key.mappings - -mappings["z"] = { - name = "zk", - n = { "ZkNew { title = vim.fn.input('Title: ') }", "New" }, - o = { "ZkNotes { sort = { 'modified' } }", "Open" }, - t = { "ZkTags", "Tags" }, - f = { "ZkNotes { sort = { 'modified' }, match = vim.fn.input('Search: ') }", "Fuzzy Search" }, -} -mappings["s"]["p"] = { "Telescope projects", "Recent Projects" } -mappings["s"]["w"] = { "Telescope live_grep", "Find Word" } - - --- Change Telescope navigation to use j and k for navigation and n and p for history in both input and normal mode. --- we use protected-mode (pcall) just in case the plugin wasn't loaded yet. -local _, actions = pcall(require, "telescope.actions") -lvim.builtin.telescope.defaults.mappings = { - -- for input mode - i = { - [""] = actions.move_selection_next, - [""] = actions.move_selection_previous, - [""] = actions.cycle_history_next, - [""] = actions.cycle_history_prev, - }, - -- for normal mode - n = { - [""] = actions.move_selection_next, - [""] = actions.move_selection_previous, - }, -} diff --git a/home/private_dot_config/lvim/lua/lsp.lua b/home/private_dot_config/lvim/lua/lsp.lua deleted file mode 100644 index 8502267..0000000 --- a/home/private_dot_config/lvim/lua/lsp.lua +++ /dev/null @@ -1 +0,0 @@ -require'lspconfig'.taplo.setup{} diff --git a/home/private_dot_config/lvim/lua/plugins.lua b/home/private_dot_config/lvim/lua/plugins.lua deleted file mode 100644 index 4b6538f..0000000 --- a/home/private_dot_config/lvim/lua/plugins.lua +++ /dev/null @@ -1,95 +0,0 @@ -local p = function(name) return string.format("require'config.%s'", name) end - --- extra plugins -lvim.plugins = { - { 'chrisbra/Colorizer' }, - { - 'catppuccin/nvim', - as = 'catppuccin' - }, - -- { 'Djancyp/better-comments.nvim', - -- config = function() - -- require('better-comment').Setup() - -- end - -- }, - { 'NoahTheDuke/vim-just' }, - { 'ggandor/lightspeed.nvim' }, - { 'elkowar/yuck.vim' }, - { - 'mickael-menu/zk-nvim', - config = p "zk"; - }, - { - "quarto-dev/quarto-vim", - requires = { - { "vim-pandoc/vim-pandoc-syntax" }, - }, - ft = { "quarto" }, - }, - { 'xiyaowong/nvim-transparent', - config = p 'nvim-transparent'; - }, -} - --- default plugins settings --- lvim.builtin.nvimtree.setup.git.ignore = false - -lvim.builtin.notify.active = true -lvim.builtin.terminal.active = true -lvim.builtin.telescope.pickers.find_files.find_command = { - "rg", - "--hidden", - "--files", - "--glob=!.git/", -} - -local function pick_color() - local colors = { "String", "Identifier", "Keyword", "Number", "Constant" } - return colors[math.random(#colors)] -end - -local function myfooter(lvim_version) - -- local plugins = #vim.tbl_keys(packer_plugins) needs to be in config of packer table... - local v = vim.version() - local datetime = os.date " %Y.%m.%d  %H:%M:%S" - return string.format(" %s  v%s.%s.%s %s", lvim_version, v.major, v.minor, v.patch, datetime) -end - -local lvim_version = require("lvim.utils.git").get_lvim_version() - -local hl = pick_color() - -lvim.builtin.alpha.dashboard.section.header.opts.hl = hl -lvim.builtin.alpha.dashboard.section.footer.opts.hl = hl -lvim.builtin.alpha.dashboard.section.footer.val = myfooter(lvim_version) - - -lvim.builtin.alpha.dashboard.section.header.val = { - [[ _______________________________________ ]], - [[ |,---"-----------------------------"---,| ]], - [[ ||___ 16 bit.................... || ]], - [[ ||====\ :HHHHHHHHHHHHHHHHHHHHHHHHHHH || ]], - [[ ||=====):H c> lvim H || ]], - [[ ||====/ :H ╦ ╦ ╦╔╗╔╔═╗╦═╗╦ ╦╦╔╦╗ H || ]], - [[ || :H ║ ║ ║║║║╠═╣╠╦╝╚╗╔╝║║║║ H || ]], - [[ ||PORTFO:H ╩═╝╚═╝╝╚╝╩ ╩╩╚═ ╚╝ ╩╩ ╩ H || ]], - [[ || :HHHHHHHHHHHHHHHHHHHHHHHHHHH || ]], - [[ ||_____,_________________________,_____|| ]], - [[ |)_____)-----.| /I\ATARI |.------(_____(| ]], - [[ //"""""""|_____|=----------=|______|"""""""\ ]], - [[ // _| _| _| _| _| _| _| _| _| _| _| _| _| _| \ ]], - [[ // ___| _| _| _| _| _| _| _| _| _| _| _| | | \ ]], - [[ |/ ___| _| _| _| _| _| _| _| _| _| _| _| ______| \ ]], - [[ / __| _| _| _| _| _| _| _| _| _| _| _| _| _| ___| \ ]], - [[ / _| _| _| _| ________________________| _| _| _| _| \ ]], - [[|------"--------------------------------------"-------|]], - [[`-----------------------------------------------------']], -} - - --- simpler header ---[[ -╦ ╦ ╦╔╗╔╔═╗╦═╗╦ ╦╦╔╦╗ -║ ║ ║║║║╠═╣╠╦╝╚╗╔╝║║║║ -╩═╝╚═╝╝╚╝╩ ╩╩╚═ ╚╝ ╩╩ ╩ -]] -- diff --git a/home/private_dot_config/lvim/lua/settings.lua b/home/private_dot_config/lvim/lua/settings.lua deleted file mode 100644 index a535093..0000000 --- a/home/private_dot_config/lvim/lua/settings.lua +++ /dev/null @@ -1,31 +0,0 @@ --- settings -local opt = vim.opt -opt.timeoutlen = 200 -opt.cmdheight = 0 -- broken?? -opt.listchars:append({ tab = "⍿·", trail = "×" }) -opt.list = true -opt.number = true -opt.relativenumber = true - --- lvim specific settings --- general -lvim.log.level = "warn" -lvim.format_on_save = false -lvim.colorscheme = "catppuccin" - --- if you don't want all the parsers change this to a table of the ones you want -lvim.builtin.treesitter.ensure_installed = { - "bash", - "javascript", - "json", - "lua", - "python", - "typescript", - "tsx", - "css", - "rust", - "yaml", - "toml" -} - -lvim.builtin.treesitter.highlight.enabled = true diff --git a/home/private_dot_config/sheldon/plugins.toml b/home/private_dot_config/sheldon/plugins.toml deleted file mode 100644 index 2489db3..0000000 --- a/home/private_dot_config/sheldon/plugins.toml +++ /dev/null @@ -1,47 +0,0 @@ -# `sheldon` configuration file -# ---------------------------- -# -# You can modify this file directly or you can use one of the following -# `sheldon` commands which are provided to assist in editing the config file: -# -# - `sheldon add` to add a new plugin to the config file -# - `sheldon edit` to open up the config file in the default editor -# - `sheldon remove` to remove a plugin from the config file -# -# See the documentation for more https://github.com/rossmacarthur/sheldon#readme - -shell = "zsh" - - -[plugins] - -# oh-my-zsh plugins -[plugins.ohmyzsh-plugins] -github = 'ohmyzsh/ohmyzsh' -dir = 'plugins' -use = ['{dotenv,extract}/*.plugin.zsh'] - -[plugins.ohmyzsh-lib] -github = 'ohmyzsh/ohmyzsh' -dir = "lib" -use = ['{completion,clipboard}.zsh'] - -[plugins.base16] -github = "chriskempson/base16-shell" - -[plugins.zsh-defer] -github = "romkatv/zsh-defer" - -[plugins.zcolors] -github = "marlonrichert/zcolors" - -[plugins.zsh-syntax-highlighting] -github = "zsh-users/zsh-syntax-highlighting" -apply = ["defer"] - -[plugins.fzf-tab] -github = "Aloxaf/fzf-tab" -apply = ["defer"] - -[templates] -defer = "{% for file in files %}zsh-defer source \"{{ file }}\"\n{% endfor %}" diff --git a/home/private_dot_config/zellij/config.yaml b/home/private_dot_config/zellij/config.yaml deleted file mode 100644 index 7a867ef..0000000 --- a/home/private_dot_config/zellij/config.yaml +++ /dev/null @@ -1,607 +0,0 @@ ---- -# Configuration for zellij. - -# In order to troubleshoot your configuration try using the following command: -# `zellij setup --check` -# It should show current config locations and features that are enabled. - -keybinds: - unbind: true - normal: - - action: [SwitchToMode: Locked,] - key: [Ctrl: 'g',] - - action: [SwitchToMode: Pane,] - key: [Ctrl: 'p',] - - action: [SwitchToMode: Resize,] - key: [Ctrl: 'n',] - - action: [SwitchToMode: Tab,] - key: [Ctrl: 't',] - - action: [SwitchToMode: Scroll,] - key: [Ctrl: 's',] - - action: [SwitchToMode: Session,] - key: [Ctrl: 'o',] - - action: [SwitchToMode: Move,] - key: [Ctrl: 'h',] - - action: [SwitchToMode: Tmux,] - key: [Ctrl: 'b',] - - action: [Quit,] - key: [Ctrl: 'q',] - - action: [NewPane: ] - key: [ Alt: 'n',] - - action: [MoveFocusOrTab: Left,] - key: [ Alt: 'h', Alt: Left] - - action: [MoveFocusOrTab: Right,] - key: [ Alt: 'l', Alt: Right ] - - action: [MoveFocus: Down,] - key: [ Alt: 'j', Alt: Down] - - action: [MoveFocus: Up,] - key: [ Alt: 'k', Alt: Up, ] - - action: [Resize: Increase,] - key: [ Alt: '='] - - action: [Resize: Increase,] - key: [ Alt: '+'] - - action: [Resize: Decrease,] - key: [ Alt: '-'] - # uncomment this and adjust key if using copy_on_select=false - # - action: [Copy: ] - # key: [ Alt: 'c'] - locked: - - action: [SwitchToMode: Normal,] - key: [Ctrl: 'g',] - resize: - - action: [SwitchToMode: Locked,] - key: [Ctrl: 'g'] - - action: [SwitchToMode: Pane,] - key: [Ctrl: 'p',] - - action: [SwitchToMode: Tab,] - key: [Ctrl: 't',] - - action: [SwitchToMode: Normal,] - key: [Ctrl: 'n', Char: "\n", Char: ' ', Esc] - - action: [SwitchToMode: Scroll,] - key: [Ctrl: 's'] - - action: [SwitchToMode: Session,] - key: [Ctrl: 'o',] - - action: [SwitchToMode: Move,] - key: [Ctrl: 'h',] - - action: [SwitchToMode: Tmux,] - key: [Ctrl: 'b',] - - action: [Quit] - key: [Ctrl: 'q'] - - action: [Resize: Left,] - key: [Char: 'h', Left,] - - action: [Resize: Down,] - key: [Char: 'j', Down,] - - action: [Resize: Up,] - key: [Char: 'k', Up, ] - - action: [Resize: Right,] - key: [Char: 'l', Right,] - - action: [Resize: Increase,] - key: [Char: '='] - - action: [Resize: Increase,] - key: [ Char: '+'] - - action: [Resize: Decrease,] - key: [Char: '-'] - - action: [NewPane: ,] - key: [ Alt: 'n',] - - action: [MoveFocusOrTab: Left,] - key: [ Alt: 'h', Alt: Left] - - action: [MoveFocusOrTab: Right,] - key: [ Alt: 'l', Alt: Right] - - action: [MoveFocus: Down,] - key: [ Alt: 'j', Alt: Down] - - action: [MoveFocus: Up,] - key: [ Alt: 'k', Alt: Up] - - action: [Resize: Increase,] - key: [ Alt: '='] - - action: [Resize: Increase,] - key: [ Alt: '+'] - - action: [Resize: Decrease,] - key: [ Alt: '-'] - pane: - - action: [SwitchToMode: Locked,] - key: [Ctrl: 'g'] - - action: [SwitchToMode: Resize,] - key: [Ctrl: 'n',] - - action: [SwitchToMode: Tab,] - key: [Ctrl: 't',] - - action: [SwitchToMode: Normal,] - key: [Ctrl: 'p', Char: "\n", Char: ' ', Esc] - - action: [SwitchToMode: Scroll,] - key: [Ctrl: 's'] - - action: [SwitchToMode: Session,] - key: [Ctrl: 'o',] - - action: [SwitchToMode: Move,] - key: [Ctrl: 'h',] - - action: [SwitchToMode: Tmux,] - key: [Ctrl: 'b',] - - action: [Quit,] - key: [Ctrl: 'q',] - - action: [MoveFocus: Left,] - key: [ Char: 'h', Left,] - - action: [MoveFocus: Right,] - key: [ Char: 'l', Right,] - - action: [MoveFocus: Down,] - key: [ Char: 'j', Down,] - - action: [MoveFocus: Up,] - key: [ Char: 'k', Up,] - - action: [SwitchFocus,] - key: [Char: 'p'] - - action: [NewPane: , SwitchToMode: Normal,] - key: [Char: 'n',] - - action: [NewPane: Down, SwitchToMode: Normal,] - key: [Char: 'd',] - - action: [NewPane: Right, SwitchToMode: Normal,] - key: [Char: 'r',] - - action: [CloseFocus, SwitchToMode: Normal,] - key: [Char: 'x',] - - action: [ToggleFocusFullscreen, SwitchToMode: Normal,] - key: [Char: 'f',] - - action: [TogglePaneFrames, SwitchToMode: Normal,] - key: [Char: 'z',] - - action: [ToggleFloatingPanes, SwitchToMode: Normal,] - key: [Char: 'w'] - - action: [TogglePaneEmbedOrFloating, SwitchToMode: Normal,] - key: [Char: 'e'] - - action: [NewPane: ,] - key: [ Alt: 'n',] - - action: [MoveFocusOrTab: Left,] - key: [ Alt: 'h', Alt: Left] # The Alt: Left etc. variants are temporary hacks and will be removed in the future - please do not rely on them! - - action: [MoveFocusOrTab: Right,] - key: [ Alt: 'l', Alt: Right] - - action: [MoveFocus: Down,] - key: [ Alt: 'j', Alt: Down] - - action: [MoveFocus: Up,] - key: [ Alt: 'k', Alt: Up] - - action: [Resize: Increase,] - key: [ Alt: '='] - - action: [Resize: Increase,] - key: [ Alt: '+'] - - action: [Resize: Decrease,] - key: [ Alt: '-'] - - action: [SwitchToMode: RenamePane, PaneNameInput: [0],] - key: [Char: 'c'] - move: - - action: [SwitchToMode: Locked,] - key: [Ctrl: 'g'] - - action: [SwitchToMode: Pane,] - key: [Ctrl: 'p',] - - action: [SwitchToMode: Tab,] - key: [Ctrl: 't',] - - action: [SwitchToMode: Resize,] - key: [Ctrl: 'n',] - - action: [SwitchToMode: Normal,] - key: [Ctrl: 'h', Char: "\n", Char: ' ', Esc] - - action: [SwitchToMode: Scroll,] - key: [Ctrl: 's'] - - action: [SwitchToMode: Session,] - key: [Ctrl: 'o',] - - action: [Quit] - key: [Ctrl: 'q'] - - action: [MovePane: ,] - key: [Char: 'n', Char: "\t",] - - action: [MovePane: Left,] - key: [Char: 'h', Left,] - - action: [MovePane: Down,] - key: [Char: 'j', Down,] - - action: [MovePane: Up,] - key: [Char: 'k', Up, ] - - action: [MovePane: Right,] - key: [Char: 'l', Right,] - - action: [NewPane: ,] - key: [ Alt: 'n',] - - action: [MoveFocusOrTab: Left,] - key: [ Alt: 'h', Alt: Left] # The Alt: Left etc. variants are temporary hacks and will be removed in the future - please do not rely on them! - - action: [MoveFocusOrTab: Right,] - key: [ Alt: 'l', Alt: Right] - - action: [MoveFocus: Down,] - key: [ Alt: 'j', Alt: Down] - - action: [MoveFocus: Up,] - key: [ Alt: 'k', Alt: Up] - - action: [Resize: Increase,] - key: [ Alt: '='] - - action: [Resize: Increase,] - key: [ Alt: '+'] - - action: [Resize: Decrease,] - key: [ Alt: '-'] - tab: - - action: [SwitchToMode: Locked,] - key: [Ctrl: 'g'] - - action: [SwitchToMode: Pane,] - key: [Ctrl: 'p',] - - action: [SwitchToMode: Resize,] - key: [Ctrl: 'n',] - - action: [SwitchToMode: Normal,] - key: [Ctrl: 't', Char: "\n", Char: ' ', Esc] - - action: [SwitchToMode: Scroll,] - key: [Ctrl: 's'] - - action: [SwitchToMode: Move,] - key: [Ctrl: 'h',] - - action: [SwitchToMode: Tmux,] - key: [Ctrl: 'b',] - - action: [SwitchToMode: Session,] - key: [Ctrl: 'o',] - - action: [SwitchToMode: RenameTab, TabNameInput: [0],] - key: [Char: 'r'] - - action: [Quit,] - key: [Ctrl: 'q',] - - action: [GoToPreviousTab,] - key: [ Char: 'h', Left, Up, Char: 'k',] - - action: [GoToNextTab,] - key: [ Char: 'l', Right,Down, Char: 'j'] - - action: [NewTab: , SwitchToMode: Normal,] - key: [ Char: 'n',] - - action: [CloseTab, SwitchToMode: Normal,] - key: [ Char: 'x',] - - action: [ToggleActiveSyncTab, SwitchToMode: Normal,] - key: [Char: 's'] - - action: [GoToTab: 1, SwitchToMode: Normal,] - key: [ Char: '1',] - - action: [GoToTab: 2, SwitchToMode: Normal,] - key: [ Char: '2',] - - action: [GoToTab: 3, SwitchToMode: Normal,] - key: [ Char: '3',] - - action: [GoToTab: 4, SwitchToMode: Normal,] - key: [ Char: '4',] - - action: [GoToTab: 5, SwitchToMode: Normal,] - key: [ Char: '5',] - - action: [GoToTab: 6, SwitchToMode: Normal,] - key: [ Char: '6',] - - action: [GoToTab: 7, SwitchToMode: Normal,] - key: [ Char: '7',] - - action: [GoToTab: 8, SwitchToMode: Normal,] - key: [ Char: '8',] - - action: [GoToTab: 9, SwitchToMode: Normal,] - key: [ Char: '9',] - - action: [ToggleTab] - key: [ Char: "\t" ] - - action: [NewPane: ,] - key: [ Alt: 'n',] - - action: [MoveFocusOrTab: Left,] - key: [ Alt: 'h', Alt: Left] # The Alt: Left etc. variants are temporary hacks and will be removed in the future - please do not rely on them! - - action: [MoveFocusOrTab: Right,] - key: [ Alt: 'l', Alt: Right] - - action: [MoveFocus: Down,] - key: [ Alt: 'j', Alt: Down] - - action: [MoveFocus: Up,] - key: [ Alt: 'k', Alt: Up] - - action: [Resize: Increase,] - key: [ Alt: '='] - - action: [Resize: Increase,] - key: [ Alt: '+'] - - action: [Resize: Decrease,] - key: [ Alt: '-'] - scroll: - - action: [EditScrollback, SwitchToMode: Normal] - key: [Char: 'e'] - - action: [SwitchToMode: Normal,] - key: [Ctrl: 's', Char: ' ', Char: "\n", Esc] - - action: [SwitchToMode: Tab,] - key: [Ctrl: 't',] - - action: [SwitchToMode: Locked,] - key: [Ctrl: 'g',] - - action: [SwitchToMode: Pane,] - key: [Ctrl: 'p',] - - action: [SwitchToMode: Move,] - key: [Ctrl: 'h',] - - action: [SwitchToMode: Tmux,] - key: [Ctrl: 'b',] - - action: [SwitchToMode: Session,] - key: [Ctrl: 'o',] - - action: [SwitchToMode: Resize,] - key: [Ctrl: 'n',] - - action: [ScrollToBottom, SwitchToMode: Normal,] - key: [Ctrl: 'c',] - - action: [Quit,] - key: [Ctrl: 'q',] - - action: [ScrollDown,] - key: [Char: 'j', Down,] - - action: [ScrollUp,] - key: [Char: 'k', Up,] - - action: [PageScrollDown,] - key: [Ctrl: 'f', PageDown, Right, Char: 'l',] - - action: [PageScrollUp,] - key: [Ctrl: 'b', PageUp, Left, Char: 'h',] - - action: [HalfPageScrollDown,] - key: [Char: 'd',] - - action: [HalfPageScrollUp,] - key: [Char: 'u',] - - action: [NewPane: ,] - key: [ Alt: 'n',] - - action: [MoveFocusOrTab: Left,] - key: [ Alt: 'h', Alt: Left] # The Alt: Left etc. variants are temporary hacks and will be removed in the future - please do not rely on them! - - action: [MoveFocusOrTab: Right,] - key: [ Alt: 'l', Alt: Right] - - action: [MoveFocus: Down,] - key: [ Alt: 'j', Alt: Down] - - action: [MoveFocus: Up,] - key: [ Alt: 'k', Alt: Up] - - action: [Resize: Increase,] - key: [ Alt: '='] - - action: [Resize: Increase,] - key: [ Alt: '+'] - - action: [Resize: Decrease,] - key: [ Alt: '-'] - # uncomment this and adjust key if using copy_on_select=false - # - action: [Copy: ] - # key: [ Alt: 'c'] - renametab: - - action: [SwitchToMode: Normal,] - key: [Char: "\n", Ctrl: 'c', Esc] - - action: [TabNameInput: [27] , SwitchToMode: Tab,] - key: [Esc,] - - action: [NewPane: ,] - key: [ Alt: 'n',] - - action: [MoveFocusOrTab: Left,] - key: [ Alt: 'h', Alt: Left] - - action: [MoveFocusOrTab: Right,] - key: [ Alt: 'l', Alt: Right] - - action: [MoveFocus: Down,] - key: [ Alt: 'j', Alt: Down] - - action: [MoveFocus: Up,] - key: [ Alt: 'k', Alt: Up] - - action: [Resize: Increase,] - key: [ Alt: '='] - - action: [Resize: Increase,] - key: [ Alt: '+'] - - action: [Resize: Decrease,] - key: [ Alt: '-'] - renamepane: - - action: [SwitchToMode: Normal,] - key: [Char: "\n", Ctrl: 'c', Esc] - - action: [PaneNameInput: [27] , SwitchToMode: Pane,] - key: [Esc,] - - action: [NewPane: ,] - key: [ Alt: 'n',] - - action: [MoveFocusOrTab: Left,] - key: [ Alt: 'h', Alt: Left] - - action: [MoveFocusOrTab: Right,] - key: [ Alt: 'l', Alt: Right] - - action: [MoveFocus: Down,] - key: [ Alt: 'j', Alt: Down] - - action: [MoveFocus: Up,] - key: [ Alt: 'k', Alt: Up] - - action: [Resize: Increase,] - key: [ Alt: '='] - - action: [Resize: Increase,] - key: [ Alt: '+'] - - action: [Resize: Decrease,] - key: [ Alt: '-'] - session: - - action: [SwitchToMode: Locked,] - key: [Ctrl: 'g'] - - action: [SwitchToMode: Resize,] - key: [Ctrl: 'n',] - - action: [SwitchToMode: Pane,] - key: [Ctrl: 'p',] - - action: [SwitchToMode: Move,] - key: [Ctrl: 'h',] - - action: [SwitchToMode: Tmux,] - key: [Ctrl: 'b',] - - action: [SwitchToMode: Tab,] - key: [Ctrl: 't',] - - action: [SwitchToMode: Normal,] - key: [Ctrl: 'o', Char: "\n", Char: ' ', Esc] - - action: [SwitchToMode: Scroll,] - key: [Ctrl: 's'] - - action: [Quit,] - key: [Ctrl: 'q',] - - action: [Detach,] - key: [Char: 'd',] - - action: [NewPane: ,] - key: [ Alt: 'n',] - - action: [MoveFocusOrTab: Left,] - key: [ Alt: 'h', Alt: Left] - - action: [MoveFocusOrTab: Right,] - key: [ Alt: 'l', Alt: Right] - - action: [MoveFocus: Down,] - key: [ Alt: 'j', Alt: Down] - - action: [MoveFocus: Up,] - key: [ Alt: 'k', Alt: Up] - - action: [Resize: Increase,] - key: [ Alt: '='] - - action: [Resize: Increase,] - key: [ Alt: '+'] - - action: [Resize: Decrease,] - key: [ Alt: '-'] - tmux: - - action: [SwitchToMode: Locked,] - key: [Ctrl: 'g'] - - action: [SwitchToMode: Resize,] - key: [Ctrl: 'n',] - - action: [SwitchToMode: Pane,] - key: [Ctrl: 'p',] - - action: [SwitchToMode: Move,] - key: [Ctrl: 'h',] - - action: [SwitchToMode: Tab,] - key: [Ctrl: 't',] - - action: [SwitchToMode: Normal,] - key: [Ctrl: 'o', Char: "\n", Char: ' ', Esc] - - action: [SwitchToMode: Scroll,] - key: [Ctrl: 's'] - - action: [SwitchToMode: Scroll,] - key: [ Char: '['] - - action: [Quit,] - key: [Ctrl: 'q',] - - action: [Write: [2,], SwitchToMode: Normal] - key: [Ctrl: 'b'] - - action: [NewPane: Down, SwitchToMode: Normal,] - key: [Char: "\"",] - - action: [NewPane: Right, SwitchToMode: Normal,] - key: [Char: '%',] - - action: [ToggleFocusFullscreen, SwitchToMode: Normal,] - key: [Char: 'z',] - - action: [NewTab: , SwitchToMode: Normal,] - key: [ Char: 'c',] - - action: [SwitchToMode: RenameTab, TabNameInput: [0],] - key: [Char: ','] - - action: [GoToPreviousTab, SwitchToMode: Normal,] - key: [ Char: 'p'] - - action: [GoToNextTab, SwitchToMode: Normal,] - key: [ Char: 'n'] - - action: [MoveFocus: Left, SwitchToMode: Normal,] - key: [ Left,] - - action: [MoveFocus: Right, SwitchToMode: Normal,] - key: [ Right,] - - action: [MoveFocus: Down, SwitchToMode: Normal,] - key: [ Down,] - - action: [MoveFocus: Up, SwitchToMode: Normal,] - key: [ Up,] - - action: [MoveFocus: Left, SwitchToMode: Normal,] - key: [ Char: 'h'] - - action: [MoveFocus: Right, SwitchToMode: Normal,] - key: [ Char: 'l'] - - action: [MoveFocus: Down, SwitchToMode: Normal,] - key: [ Char: 'j'] - - action: [MoveFocus: Up, SwitchToMode: Normal,] - key: [ Char: 'k'] - - action: [NewPane: ,] - key: [ Alt: 'n',] - - action: [MoveFocusOrTab: Left,] - key: [ Alt: 'h', Alt: Left] - - action: [MoveFocusOrTab: Right,] - key: [ Alt: 'l', Alt: Right] - - action: [MoveFocus: Down,] - key: [ Alt: 'j', Alt: Down] - - action: [MoveFocus: Up,] - key: [ Alt: 'k', Alt: Up] - - action: [FocusNextPane,] - key: [ Char: 'o'] - - action: [Resize: Increase,] - key: [ Alt: '='] - - action: [Resize: Increase,] - key: [ Alt: '+'] - - action: [Resize: Decrease,] - key: [ Alt: '-'] - - action: [Detach,] - key: [Char: 'd',] -plugins: - - path: tab-bar - tag: tab-bar - - path: status-bar - tag: status-bar - - path: strider - tag: strider - - path: compact-bar - tag: compact-bar - -# Choose what to do when zellij receives SIGTERM, SIGINT, SIGQUIT or SIGHUP -# eg. when terminal window with an active zellij session is closed -# Options: -# - detach (Default) -# - quit -#on_force_close: quit - -# Send a request for a simplified ui (without arrow fonts) to plugins -# Options: -# - true -# - false (Default) -#simplified_ui: true - -# Choose the path to the default shell that zellij will use for opening new panes -# Default: $SHELL -# default_shell: fish - -# Toggle between having pane frames around the panes -# Options: -# - true (default) -# - false -pane_frames: false - -# Choose the theme that is specified in the themes section. -# For some examples, see: https://github.com/zellij-org/zellij/tree/main/example/themes -# Default: default -#theme: default - -# Choose the mode that zellij uses when starting up. -# Default: normal -#default_mode: locked - -# Toggle enabling the mouse mode. -# On certain configurations, or terminals this could -# potentially interfere with copying text. -# Options: -# - true (default) -# - false -#mouse_mode: false - -# Configure the scroll back buffer size -# This is the number of lines zellij stores for each pane in the scroll back -# buffer. Excess number of lines are discarded in a FIFO fashion. -# Valid values: positive integers -# Default value: 10000 -#scroll_buffer_size: 10000 - -# Provide a command to execute when copying text. The text will be piped to -# the stdin of the program to perform the copy. This can be used with -# terminal emulators which do not support the OSC 52 ANSI control sequence -# that will be used by default if this option is not set. -# Examples: -#copy_command: "xclip -selection clipboard" # x11 -#copy_command: "wl-copy" # wayland -#copy_command: "pbcopy" # osx - -# Choose the destination for copied text -# Allows using the primary selection buffer (on x11/wayland) instead of the system clipboard. -# Does not apply when using copy_command. -# Options: -# - system (default) -# - primary -#copy_clipboard: primary - -# Enable or disable automatic copy (and clear) of selection when releasing mouse -#copy_on_select: true - -# Path to the default editor to use to edit pane scrollbuffer -# scrollback_editor: /usr/bin/nano - -theme: catppuccin -themes: - catppuccin: - bg: - - 48 - - 45 - - 65 - black: - - 22 - - 19 - - 32 - blue: - - 150 - - 205 - - 251 - cyan: - - 26 - - 24 - - 38 - fg: - - 217 - - 224 - - 238 - gray: - - 87 - - 82 - - 104 - green: - - 171 - - 233 - - 179 - magenta: - - 245 - - 194 - - 231 - orange: - - 248 - - 189 - - 150 - red: - - 242 - - 143 - - 173 - white: - - 217 - - 224 - - 238 - yellow: - - 250 - - 227 - - 176