summaryrefslogtreecommitdiff
path: root/dot-config/nvim/lua/config
diff options
context:
space:
mode:
authorJosé Juan Loeza Sierra <jj@xz6ze.com>2025-11-07 23:42:52 -0800
committerJosé Juan Loeza Sierra <jj@xz6ze.com>2025-11-07 23:53:00 -0800
commit5dc89fe9789701abbe4a73c2998d397a6d7d964c (patch)
treecf43ae482b0c2bbfabd3370faf127a4e21a21086 /dot-config/nvim/lua/config
parent617c3b29dbf03322ef3ccb0cd9663532e94adb68 (diff)
replace lazyvim with custom config
Diffstat (limited to 'dot-config/nvim/lua/config')
-rw-r--r--dot-config/nvim/lua/config/autocmds.lua8
-rw-r--r--dot-config/nvim/lua/config/keymaps.lua3
-rw-r--r--dot-config/nvim/lua/config/lazy.lua53
-rw-r--r--dot-config/nvim/lua/config/options.lua24
4 files changed, 0 insertions, 88 deletions
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"