From 5dc89fe9789701abbe4a73c2998d397a6d7d964c Mon Sep 17 00:00:00 2001 From: José Juan Loeza Sierra Date: Fri, 7 Nov 2025 23:42:52 -0800 Subject: replace lazyvim with custom config --- dot-config/nvim/lua/config/autocmds.lua | 8 ----- dot-config/nvim/lua/config/keymaps.lua | 3 -- dot-config/nvim/lua/config/lazy.lua | 53 --------------------------------- dot-config/nvim/lua/config/options.lua | 24 --------------- 4 files changed, 88 deletions(-) delete mode 100644 dot-config/nvim/lua/config/autocmds.lua delete mode 100644 dot-config/nvim/lua/config/keymaps.lua delete mode 100644 dot-config/nvim/lua/config/lazy.lua delete mode 100644 dot-config/nvim/lua/config/options.lua (limited to 'dot-config/nvim/lua/config') diff --git a/dot-config/nvim/lua/config/autocmds.lua b/dot-config/nvim/lua/config/autocmds.lua deleted file mode 100644 index 4221e75..0000000 --- a/dot-config/nvim/lua/config/autocmds.lua +++ /dev/null @@ -1,8 +0,0 @@ --- Autocmds are automatically loaded on the VeryLazy event --- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua --- --- Add any additional autocmds here --- with `vim.api.nvim_create_autocmd` --- --- Or remove existing autocmds by their group name (which is prefixed with `lazyvim_` for the defaults) --- e.g. vim.api.nvim_del_augroup_by_name("lazyvim_wrap_spell") diff --git a/dot-config/nvim/lua/config/keymaps.lua b/dot-config/nvim/lua/config/keymaps.lua deleted file mode 100644 index 2c134f7..0000000 --- a/dot-config/nvim/lua/config/keymaps.lua +++ /dev/null @@ -1,3 +0,0 @@ --- Keymaps are automatically loaded on the VeryLazy event --- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua --- Add any additional keymaps here diff --git a/dot-config/nvim/lua/config/lazy.lua b/dot-config/nvim/lua/config/lazy.lua deleted file mode 100644 index d73bfa1..0000000 --- a/dot-config/nvim/lua/config/lazy.lua +++ /dev/null @@ -1,53 +0,0 @@ -local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" -if not (vim.uv or vim.loop).fs_stat(lazypath) then - local lazyrepo = "https://github.com/folke/lazy.nvim.git" - local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath }) - if vim.v.shell_error ~= 0 then - vim.api.nvim_echo({ - { "Failed to clone lazy.nvim:\n", "ErrorMsg" }, - { out, "WarningMsg" }, - { "\nPress any key to exit..." }, - }, true, {}) - vim.fn.getchar() - os.exit(1) - end -end -vim.opt.rtp:prepend(lazypath) - -require("lazy").setup({ - spec = { - -- add LazyVim and import its plugins - { "LazyVim/LazyVim", import = "lazyvim.plugins" }, - -- import/override with your plugins - { import = "plugins" }, - }, - defaults = { - -- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup. - -- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default. - lazy = false, - -- It's recommended to leave version=false for now, since a lot the plugin that support versioning, - -- have outdated releases, which may break your Neovim install. - version = false, -- always use the latest git commit - -- version = "*", -- try installing the latest stable version for plugins that support semver - }, - install = { colorscheme = { "tokyonight", "habamax" } }, - checker = { - enabled = true, -- check for plugin updates periodically - notify = false, -- notify on update - }, -- automatically check for plugin updates - performance = { - rtp = { - -- disable some rtp plugins - disabled_plugins = { - "gzip", - -- "matchit", - -- "matchparen", - -- "netrwPlugin", - "tarPlugin", - "tohtml", - "tutor", - "zipPlugin", - }, - }, - }, -}) diff --git a/dot-config/nvim/lua/config/options.lua b/dot-config/nvim/lua/config/options.lua deleted file mode 100644 index 332d2af..0000000 --- a/dot-config/nvim/lua/config/options.lua +++ /dev/null @@ -1,24 +0,0 @@ --- Options are automatically loaded before lazy.nvim startup --- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua --- Add any additional options here - --- For clipboard over ssh --- see https://github.com/LazyVim/LazyVim/discussions/2715#discussioncomment-11857449 -vim.opt.clipboard = "unnamedplus" - -vim.g.clipboard = { - name = "OSC 52", - copy = { - ["+"] = require("vim.ui.clipboard.osc52").copy("+"), - ["*"] = require("vim.ui.clipboard.osc52").copy("*"), - }, - paste = { - ["+"] = require("vim.ui.clipboard.osc52").paste("+"), - ["*"] = require("vim.ui.clipboard.osc52").paste("*"), - }, -} - --- Python: use ruff instead of pyright --- don't want a full LSP, just linting and formatting --- see https://www.lazyvim.org/extras/lang/python -vim.g.lazyvim_python_lsp = "ruff" -- cgit v1.3