aboutsummaryrefslogtreecommitdiff
path: root/store/home
diff options
context:
space:
mode:
Diffstat (limited to 'store/home')
-rw-r--r--store/home/bash_profile1
-rw-r--r--store/home/bashrc8
-rwxr-xr-xstore/home/bin/neovide-listen49
-rwxr-xr-xstore/home/bin/nvr-wait4
-rw-r--r--store/home/config/aichat/roles/blogger.md4
-rw-r--r--store/home/config/aichat/roles/coder.md5
-rw-r--r--store/home/config/halloy/config.toml20
-rw-r--r--store/home/config/nvim/init.lua27
-rw-r--r--store/home/config/nvim/lazy-lock.json18
-rw-r--r--store/home/config/nvim/lua/plugins.lua31
-rw-r--r--store/home/config/nvim/lua/setup/init.lua46
-rw-r--r--store/home/config/nvim/lua/setup/lsp/clangd.lua25
-rw-r--r--store/home/config/nvim/lua/setup/lsp/init.lua27
-rw-r--r--store/home/config/nvim/lua/setup/lsp/lua_ls.lua29
-rw-r--r--store/home/config/nvim/lua/setup/plugins/cmp.lua30
-rw-r--r--store/home/config/nvim/lua/setup/plugins/gitsigns.lua40
-rw-r--r--store/home/config/nvim/lua/setup/plugins/init.lua15
-rw-r--r--store/home/config/nvim/lua/setup/plugins/lint.lua98
-rw-r--r--store/home/config/nvim/lua/setup/plugins/telescope.lua28
-rw-r--r--store/home/config/nvim/lua/setup/plugins/tree-sitter.lua11
-rw-r--r--store/home/config/nvim/lua/setup/win.lua16
-rw-r--r--store/home/gitconfig11
22 files changed, 0 insertions, 543 deletions
diff --git a/store/home/bash_profile b/store/home/bash_profile
deleted file mode 100644
index b65f405..0000000
--- a/store/home/bash_profile
+++ /dev/null
@@ -1 +0,0 @@
-export PATH="$HOME/.local/bin:$PATH"
diff --git a/store/home/bashrc b/store/home/bashrc
deleted file mode 100644
index 7d31f23..0000000
--- a/store/home/bashrc
+++ /dev/null
@@ -1,8 +0,0 @@
-set-proxy() {
- export http_proxy="http://127.0.0.1:7897"
- export https_proxy="http://127.0.0.1:7897"
-}
-
-unset-proxy() {
- unset http_proxy https_proxy
-}
diff --git a/store/home/bin/neovide-listen b/store/home/bin/neovide-listen
deleted file mode 100755
index 3bcc7da..0000000
--- a/store/home/bin/neovide-listen
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env bash
-
-export CRU_NVIM_SERVER=${CRU_NVIM_SERVER:-/tmp/nvimsocket}
-
-args=()
-
-self_built_nvim="$HOME/codes/neovim/build/bin/nvim"
-self_built_nvim_runtime="$HOME/codes/neovim/runtime"
-if [[ -z "$CRU_NVIM" ]] && [[ -e "$self_built_nvim" ]]; then
- echo "Found self-built neovim at $CRU_NVIM"
- CRU_NVIM="$self_built_nvim"
- CRU_VIMRUNTIME="$self_built_nvim_runtime"
-fi
-
-[[ -z "$CRU_NVIM" ]] || args=("${args[@]}" "--neovim-bin" "$CRU_NVIM")
-export CRU_NVIM=${CRU_NVIM:-nvim}
-[[ -z "$CRU_VIMRUNTIME" ]] || export VIMRUNTIME="$CRU_VIMRUNTIME"
-
-self_built_neovide="$HOME/codes/neovide/target/release/neovide"
-if [[ -z "$CRU_NEOVIDE" ]] && [[ -e "$self_built_neovide" ]]; then
- echo "Found self-build of neovide at $self_built_neovide"
- CRU_NEOVIDE="$self_built_neovide"
-fi
-export CRU_NEOVIDE=${CRU_NEOVIDE:-neovide}
-
-listen_added=0
-for arg in "$@"; do
- args=("${args[@]}" "$arg")
- if [[ "$arg" == "--" ]]; then
- args=("${args[@]}" "--listen" "$CRU_NVIM_SERVER")
- listen_added=1
- fi
-done
-
-if [[ $listen_added = 0 ]]; then
- args=("${args[@]}" "--" "--listen" "$CRU_NVIM_SERVER")
-fi
-
-if which nvr > /dev/null; then
- echo "Found nvr, set VISUAL EDITOR GIT_EDITOR to nvr-wait"
- export VISUAL="nvr-wait"
- export EDITOR="$VISUAL"
- export GIT_EDITOR="$VISUAL"
-fi
-
-args=("$CRU_NEOVIDE" "${args[@]}")
-echo "Full command is ${args[@]}"
-exec "${args[@]}"
-
diff --git a/store/home/bin/nvr-wait b/store/home/bin/nvr-wait
deleted file mode 100755
index 410d42d..0000000
--- a/store/home/bin/nvr-wait
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-export CRU_NVIM_SERVER=${CRU_NVIM_SERVER:-/tmp/nvimsocket}
-exec nvr --nostart --servername "$CRU_NVIM_SERVER" -cc split --remote-wait "$@"
diff --git a/store/home/config/aichat/roles/blogger.md b/store/home/config/aichat/roles/blogger.md
deleted file mode 100644
index b2ebb65..0000000
--- a/store/home/config/aichat/roles/blogger.md
+++ /dev/null
@@ -1,4 +0,0 @@
-model: deepseek:deepseek-chat
-
----
-You are DeepSeek, an AI assistant specialized in English writing. Your task is to refine my writings and explain the changes to help me improve my English writing skills.
diff --git a/store/home/config/aichat/roles/coder.md b/store/home/config/aichat/roles/coder.md
deleted file mode 100644
index ae5458b..0000000
--- a/store/home/config/aichat/roles/coder.md
+++ /dev/null
@@ -1,5 +0,0 @@
-model: deepseek:deepseek-chat
-temperature: 0
-
----
-You are an AI programming assistant. Help users write, debug, and optimize code. Provide clear, well-commented examples, explain concepts simply, and suggest multiple solutions when possible. Prioritize best practices like readability, efficiency, and security. Ask clarifying questions if the request is unclear.
diff --git a/store/home/config/halloy/config.toml b/store/home/config/halloy/config.toml
deleted file mode 100644
index 5d39f52..0000000
--- a/store/home/config/halloy/config.toml
+++ /dev/null
@@ -1,20 +0,0 @@
-tooltips = true
-
-[notifications]
-direct_message = { sound = "peck", show_toast = true }
-connected = { sound = "ring", show_toast = true }
-disconnected = { sound = "ring", show_toast = true }
-
-[notifications.highlight]
-sound = "dong"
-exclude = [ "NickServ" ]
-
-[servers.liberachat]
-nickname = "crupest"
-server = "irc.libera.chat"
-channels = [ "#hurd" ]
-use_tls = true
-
-[servers.liberachat.sasl.plain]
-username = "crupest"
-password = ...
diff --git a/store/home/config/nvim/init.lua b/store/home/config/nvim/init.lua
deleted file mode 100644
index 881ce15..0000000
--- a/store/home/config/nvim/init.lua
+++ /dev/null
@@ -1,27 +0,0 @@
-if vim.g.neovide then
- -- spellchecker: disable-next-line
- vim.opt.guifont = "FiraCode Nerd Font";
- vim.g.neovide_normal_opacity = 0.95;
- vim.g.neovide_input_ime = false;
- vim.g.neovide_cursor_animate_in_insert_mode = false
- vim.g.neovide_input_macos_option_key_is_meta = 'only_left'
-end
-
-local lazy_path = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
-if not vim.uv.fs_stat(lazy_path) then
- vim.fn.system({
- "git",
- "clone",
- "--filter=blob:none",
- "https://github.com/folke/lazy.nvim.git",
- "--branch=stable", -- latest stable release
- lazy_path,
- })
-end
-vim.opt.rtp:prepend(lazy_path)
-require("lazy").setup("plugins")
-
-vim.cmd("colorscheme catppuccin-macchiato")
-
-require("setup").setup()
-
diff --git a/store/home/config/nvim/lazy-lock.json b/store/home/config/nvim/lazy-lock.json
deleted file mode 100644
index 5f6c226..0000000
--- a/store/home/config/nvim/lazy-lock.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "catppuccin": { "branch": "main", "commit": "5b5e3aef9ad7af84f463d17b5479f06b87d5c429" },
- "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
- "cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" },
- "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
- "gitsigns.nvim": { "branch": "main", "commit": "7010000889bfb6c26065e0b0f7f1e6aa9163edd9" },
- "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
- "lualine.nvim": { "branch": "master", "commit": "1517caa8fff05e4b4999857319d3b0609a7f57fa" },
- "nvim-autopairs": { "branch": "master", "commit": "6522027785b305269fa17088395dfc0f456cedd2" },
- "nvim-cmp": { "branch": "main", "commit": "1e1900b0769324a9675ef85b38f99cca29e203b3" },
- "nvim-lint": { "branch": "master", "commit": "93b8040115c9114dac1047311763bef275e752dc" },
- "nvim-lspconfig": { "branch": "master", "commit": "85e0dd26b710e834a105d679200d01e326a3d2b0" },
- "nvim-tree.lua": { "branch": "master", "commit": "44d9b58f11d5a426c297aafd0be1c9d45617a849" },
- "nvim-treesitter": { "branch": "master", "commit": "da5825bf70cc2ea7eacd1e60c32c07baf19adeba" },
- "nvim-web-devicons": { "branch": "master", "commit": "4c3a5848ee0b09ecdea73adcd2a689190aeb728c" },
- "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
- "telescope.nvim": { "branch": "master", "commit": "a4ed82509cecc56df1c7138920a1aeaf246c0ac5" }
-}
diff --git a/store/home/config/nvim/lua/plugins.lua b/store/home/config/nvim/lua/plugins.lua
deleted file mode 100644
index 841f659..0000000
--- a/store/home/config/nvim/lua/plugins.lua
+++ /dev/null
@@ -1,31 +0,0 @@
--- spellchecker: disable
-return {
- { "catppuccin/nvim", name = "catppuccin", priority = 1000 },
- "neovim/nvim-lspconfig",
- "hrsh7th/nvim-cmp",
- "hrsh7th/cmp-nvim-lsp",
- "hrsh7th/cmp-buffer",
- "hrsh7th/cmp-path",
- {
- "nvim-treesitter/nvim-treesitter",
- build = ":TSUpdate"
- },
- {
- "nvim-tree/nvim-tree.lua",
- lazy = false,
- dependencies = {
- "nvim-tree/nvim-web-devicons",
- },
- },
- {
- "nvim-lualine/lualine.nvim",
- dependencies = { 'nvim-tree/nvim-web-devicons' }
- },
- {
- "nvim-telescope/telescope.nvim",
- dependencies = { 'nvim-lua/plenary.nvim' }
- },
- "windwp/nvim-autopairs",
- "mfussenegger/nvim-lint",
- "lewis6991/gitsigns.nvim",
-}
diff --git a/store/home/config/nvim/lua/setup/init.lua b/store/home/config/nvim/lua/setup/init.lua
deleted file mode 100644
index df3eb3d..0000000
--- a/store/home/config/nvim/lua/setup/init.lua
+++ /dev/null
@@ -1,46 +0,0 @@
-local function close_float()
- local wins = vim.api.nvim_list_wins()
- for _, v in ipairs(wins) do
- if vim.api.nvim_win_get_config(v).relative ~= '' then
- vim.api.nvim_win_close(v, false)
- end
- end
-end
-
-local function setup()
- if vim.fn.has("win32") ~= 0 then
- require("setup.win").setup()
- end
-
- -- spellchecker: ignore termguicolors
- vim.opt.termguicolors = true;
- vim.opt.fileformats = "unix,dos";
- vim.opt.number = true;
-
- vim.g.load_doxygen_syntax = true;
- vim.g.doxygen_javadoc_autobrief = false;
-
- vim.keymap.set("n", "<c-tab>", "<cmd>bnext<cr>")
- vim.keymap.set("n", "<c-s-tab>", "<cmd>bNext<cr>")
- vim.keymap.set("n", "<esc>", close_float)
- vim.keymap.set('t', '<A-n>', '<C-\\><C-n>')
- vim.keymap.set('t', '<A-p>', function()
- local register = vim.fn.input("Enter register: ")
- if register == "" then
- register = '"'
- end
- return '<C-\\><C-N>"' .. register .. 'pi'
- end, { expr = true })
-
- vim.cmd("autocmd FileType gitcommit,gitrebase,gitconfig set bufhidden=delete")
-
- vim.diagnostic.config({ virtual_text = true })
- vim.keymap.set("n", "grl", vim.diagnostic.open_float)
-
- require("setup.lsp").setup()
- require("setup.plugins").setup()
-end
-
-return {
- setup = setup
-}
diff --git a/store/home/config/nvim/lua/setup/lsp/clangd.lua b/store/home/config/nvim/lua/setup/lsp/clangd.lua
deleted file mode 100644
index 6080510..0000000
--- a/store/home/config/nvim/lua/setup/lsp/clangd.lua
+++ /dev/null
@@ -1,25 +0,0 @@
-local lspconfig = require("lspconfig")
-
-local brew_clangd_path = "/usr/local/opt/llvm/bin/clangd"
-
-local function setup()
- local clangd = "clangd"
-
- if vim.uv.fs_stat(brew_clangd_path) ~= nil then
- clangd = brew_clangd_path
- end
-
- -- setup lsp clangd
- lspconfig.clangd.setup {
- cmd = { clangd },
- on_attach = function(_, bufnr)
- vim.keymap.set('n', 'grs', "<cmd>ClangdSwitchSourceHeader<cr>", {
- buffer = bufnr
- })
- end
- }
-end
-
-return {
- setup = setup
-}
diff --git a/store/home/config/nvim/lua/setup/lsp/init.lua b/store/home/config/nvim/lua/setup/lsp/init.lua
deleted file mode 100644
index 313cf98..0000000
--- a/store/home/config/nvim/lua/setup/lsp/init.lua
+++ /dev/null
@@ -1,27 +0,0 @@
-local lspconfig = require("lspconfig")
-local cmp_nvim_lsp = require("cmp_nvim_lsp")
-local cmp_default_caps = cmp_nvim_lsp.default_capabilities()
-
-local lspconfig_default_caps = lspconfig.util.default_config.capabilities
-
-lspconfig.util.default_config = vim.tbl_extend(
- "force",
- lspconfig.util.default_config,
- {
- capabilities = vim.tbl_extend("force", lspconfig_default_caps, cmp_default_caps),
- autostart = false,
- })
-
-local function setup()
- lspconfig.cmake.setup {}
- lspconfig.bashls.setup {}
- lspconfig.html.setup {}
- lspconfig.cssls.setup {}
- require("setup.lsp.clangd").setup()
- require("setup.lsp.lua_ls").setup()
-end
-
-
-return {
- setup = setup
-}
diff --git a/store/home/config/nvim/lua/setup/lsp/lua_ls.lua b/store/home/config/nvim/lua/setup/lsp/lua_ls.lua
deleted file mode 100644
index 93aa503..0000000
--- a/store/home/config/nvim/lua/setup/lsp/lua_ls.lua
+++ /dev/null
@@ -1,29 +0,0 @@
-local lspconfig = require("lspconfig")
-
-local function setup()
- lspconfig.lua_ls.setup {
- settings = {
- Lua = {
- runtime = {
- version = "LuaJIT"
- },
- diagnostics = {
- globals = { "vim" },
- },
- workspace = {
- library = {
- [vim.fn.expand "$VIMRUNTIME/lua"] = true,
- [vim.fn.expand "$VIMRUNTIME/lua/vim/lsp"] = true,
- [vim.fn.stdpath "data" .. "/lazy/lazy.nvim/lua/lazy"] = true,
- },
- maxPreload = 100000,
- preloadFileSize = 10000,
- },
- },
- },
- }
-end
-
-return {
- setup = setup
-}
diff --git a/store/home/config/nvim/lua/setup/plugins/cmp.lua b/store/home/config/nvim/lua/setup/plugins/cmp.lua
deleted file mode 100644
index be9f8ea..0000000
--- a/store/home/config/nvim/lua/setup/plugins/cmp.lua
+++ /dev/null
@@ -1,30 +0,0 @@
-local function setup()
- local cmp = require("cmp")
-
- cmp.setup {
- snippet = {
- expand = function(args)
- vim.snippet.expand(args.body)
- end,
- },
- mapping = cmp.mapping.preset.insert({
- ['<C-b>'] = cmp.mapping.scroll_docs(-4),
- ['<C-f>'] = cmp.mapping.scroll_docs(4),
- ['<C-j>'] = cmp.mapping.select_next_item({ behavior = cmp.SelectBehavior.Select }),
- ['<C-k>'] = cmp.mapping.select_prev_item({ behavior = cmp.SelectBehavior.Select }),
- ['<C-e>'] = cmp.mapping.abort(),
- ['<C-y>'] = cmp.mapping.confirm({ select = true }),
- ['<CR>'] = cmp.mapping.confirm({ select = true }),
- }),
- sources = cmp.config.sources({
- { name = 'nvim_lsp' },
- { name = 'path' },
- }, {
- { name = 'buffer' },
- })
- }
-end
-
-return {
- setup = setup
-}
diff --git a/store/home/config/nvim/lua/setup/plugins/gitsigns.lua b/store/home/config/nvim/lua/setup/plugins/gitsigns.lua
deleted file mode 100644
index 957c661..0000000
--- a/store/home/config/nvim/lua/setup/plugins/gitsigns.lua
+++ /dev/null
@@ -1,40 +0,0 @@
-local function setup()
- local gitsigns = require('gitsigns')
-
- gitsigns.setup {
- on_attach = function(bufnr)
- local function map(mode, l, r, opts)
- opts = opts or {}
- opts.buffer = bufnr
- vim.keymap.set(mode, l, r, opts)
- end
-
- -- Navigation
- map('n', ']c', function()
- if vim.wo.diff then
- vim.cmd.normal({ ']c', bang = true })
- else
- gitsigns.nav_hunk('next')
- end
- end)
-
- map('n', '[c', function()
- if vim.wo.diff then
- vim.cmd.normal({ '[c', bang = true })
- else
- gitsigns.nav_hunk('prev')
- end
- end)
-
- -- Actions
- map('n', '<leader>gc', gitsigns.preview_hunk)
- map('n', '<leader>gt', gitsigns.toggle_deleted)
- map('n', '<leader>gd', gitsigns.diffthis)
- map('n', '<leader>gb', function() gitsigns.blame_line { full = true } end)
- end
- }
-end
-
-return {
- setup = setup
-}
diff --git a/store/home/config/nvim/lua/setup/plugins/init.lua b/store/home/config/nvim/lua/setup/plugins/init.lua
deleted file mode 100644
index 79ca3a8..0000000
--- a/store/home/config/nvim/lua/setup/plugins/init.lua
+++ /dev/null
@@ -1,15 +0,0 @@
-local function setup()
- require("setup.plugins.lint").setup()
- require("setup.plugins.cmp").setup()
- require("setup.plugins.telescope").setup()
- require("setup.plugins.gitsigns").setup()
- require("setup.plugins.tree-sitter").setup()
-
- require('lualine').setup {}
- require("nvim-tree").setup {}
- require("nvim-autopairs").setup {}
-end
-
-return {
- setup = setup
-}
diff --git a/store/home/config/nvim/lua/setup/plugins/lint.lua b/store/home/config/nvim/lua/setup/plugins/lint.lua
deleted file mode 100644
index 928841d..0000000
--- a/store/home/config/nvim/lua/setup/plugins/lint.lua
+++ /dev/null
@@ -1,98 +0,0 @@
-local lint = require("lint")
-
-local cspell = {
- name = "cspell",
- config_patterns = {
- ".cspell.json",
- "cspell.json",
- ".cSpell.json",
- "cSpell.json",
- "cspell.config.js",
- "cspell.config.cjs",
- "cspell.config.json",
- "cspell.config.yaml",
- "cspell.config.yml",
- "cspell.yaml",
- "cspell.yml",
- },
- fast = true,
-}
-
-local markdownlint = {
- name = "markdownlint",
- config_patterns = {
- ".markdownlint.jsonc",
- ".markdownlint.json",
- ".markdownlint.yaml",
- ".markdownlint.yml",
- ".markdownlintrc",
- },
- filetypes = { "markdown" },
- fast = true,
-}
-
-local linters = { cspell, markdownlint }
-
-local linter_names = vim.tbl_map(function(l) return l.name end, linters)
-
-local function cru_lint(linter, opt)
- opt = opt or {}
-
- local buf = opt.buf or 0
-
- if linter.filetypes then
- local filetype = vim.api.nvim_get_option_value("filetype", { buf = buf })
- if not vim.list_contains(linter.filetypes, filetype) then
- return
- end
- end
-
- if 0 ~= #vim.fs.find(linter.config_patterns, {
- path = vim.api.nvim_buf_get_name(opt.buf), upward = true }) then
- lint.try_lint(linter.name)
- end
-end
-
-local function cru_lint_one(name, opt)
- for _, linter in ipairs(linters) do
- if linter.name == name then
- cru_lint(linter, opt)
- return
- end
- end
- vim.notify("No linter named " .. name .. " is configured.", vim.log.levels.ERROR, {})
-end
-
-local function cru_lint_all(opt, fast)
- for _, linter in ipairs(linters) do
- if not fast or linter.fast then
- cru_lint(linter, opt)
- end
- end
-end
-
-local function cru_lint_all_fast(opt)
- local buf = opt.buf
- if vim.api.nvim_get_option_value("buftype", { buf = buf }) == "" then
- cru_lint_all(opt, true)
- end
-end
-
-local function setup()
- vim.api.nvim_create_autocmd({ "BufReadPost", "InsertLeave", "TextChanged" }, { callback = cru_lint_all_fast })
-
- local function cru_lint_cmd(opt)
- if #opt.args == 0 then
- cru_lint_all(opt, false)
- else
- cru_lint_one(opt.args, opt)
- end
- end
-
- vim.api.nvim_create_user_command("CruLint", cru_lint_cmd,
- { nargs = '?', complete = function() return linter_names end })
-end
-
-return {
- setup = setup,
-}
diff --git a/store/home/config/nvim/lua/setup/plugins/telescope.lua b/store/home/config/nvim/lua/setup/plugins/telescope.lua
deleted file mode 100644
index 69a69c0..0000000
--- a/store/home/config/nvim/lua/setup/plugins/telescope.lua
+++ /dev/null
@@ -1,28 +0,0 @@
-local function setup()
- local builtin = require('telescope.builtin')
- vim.keymap.set('n', '<leader>/', builtin.live_grep, {})
- vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
- vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
- vim.keymap.set('n', '<leader>fb', builtin.buffers, {})
- vim.keymap.set('n', '<leader>fh', builtin.help_tags, {})
- vim.keymap.set('n', '<leader>fr', builtin.registers, {})
- vim.keymap.set('n', '<leader>fq', builtin.quickfixhistory, {})
- vim.keymap.set('n', '<leader>fm', builtin.marks, {})
- vim.keymap.set('n', '<leader>fd', builtin.diagnostics, {})
- vim.keymap.set('n', '<leader>fs', builtin.lsp_workspace_symbols, {})
-
- local function all_files(opts)
- opts = vim.tbl_extend('force', {
- hidden = true,
- no_ignore = true,
- no_ignore_parent = true,
- }, opts or {})
- builtin.find_files(opts)
- end
-
- vim.keymap.set('n', '<leader>fa', all_files, {})
-end
-
-return {
- setup = setup
-}
diff --git a/store/home/config/nvim/lua/setup/plugins/tree-sitter.lua b/store/home/config/nvim/lua/setup/plugins/tree-sitter.lua
deleted file mode 100644
index 043f425..0000000
--- a/store/home/config/nvim/lua/setup/plugins/tree-sitter.lua
+++ /dev/null
@@ -1,11 +0,0 @@
-local function setup()
- require'nvim-treesitter.configs'.setup {
- highlight = { enable = true },
- incremental_selection = { enable = true },
- textobjects = { enable = true },
- }
-end
-
-return {
- setup = setup
-}
diff --git a/store/home/config/nvim/lua/setup/win.lua b/store/home/config/nvim/lua/setup/win.lua
deleted file mode 100644
index 90e168a..0000000
--- a/store/home/config/nvim/lua/setup/win.lua
+++ /dev/null
@@ -1,16 +0,0 @@
--- spellchecker: words pwsh
--- spellchecker: ignore shellcmdflag shellredir shellpipe shellquote shellxquote
-local function setup()
- vim.cmd([[
- let &shell = executable('pwsh') ? 'pwsh' : 'powershell'
- let &shellcmdflag = '-NoLogo -ExecutionPolicy RemoteSigned -Command [Console]::InputEncoding=[Console]::OutputEncoding=[System.Text.UTF8Encoding]::new();$PSDefaultParameterValues[''Out-File:Encoding'']=''utf8'';Remove-Alias -Force -ErrorAction SilentlyContinue tee;'
- let &shellredir = '2>&1 | %%{ "$_" } | Out-File %s; exit $LastExitCode'
- let &shellpipe = '2>&1 | %%{ "$_" } | tee %s; exit $LastExitCode'
- set shellquote= shellxquote=
- ]])
- vim.opt.completeslash = 'slash'
-end
-
-return {
- setup = setup
-}
diff --git a/store/home/gitconfig b/store/home/gitconfig
deleted file mode 100644
index 4b88c56..0000000
--- a/store/home/gitconfig
+++ /dev/null
@@ -1,11 +0,0 @@
-[user]
- name = Yuqian Yang
- email = crupest@crupest.life
-[core]
- autocrlf = false
- editor = vim
-[credential]
- helper = /usr/lib/git-core/git-credential-libsecret
-[alias]
- lg = log --decorate --oneline --graph
- pap = push --all --prune