Remove .config/nvim/colors/colibri.lua

Remove .config/nvim/.luarc.json
Remove .config/nvim/init.lua
Remove .config/nvim/lazy-lock.json
Remove .config/nvim/lua/config/00_lazy.lua
Remove .config/nvim/lua/config/10_opts.lua
Remove .config/nvim/lua/config/20_keymaps.lua
Remove .config/nvim/lua/config/30_autocmds.lua
Remove .config/nvim/lua/config/40_statusline.lua
Remove .config/nvim/lua/plugin/00_colorscheme.lua
Remove .config/nvim/lua/plugin/01_whichkey.lua
Remove .config/nvim/lua/plugin/03_treesitter.lua
Remove .config/nvim/lua/plugin/05_fzf.lua
Remove .config/nvim/lua/plugin/10_hop.lua
Remove .config/nvim/lua/plugin/11_eyeliner.lua
Remove .config/nvim/lua/plugin/15_lsp.lua
Remove .config/nvim/lua/plugin/18_align.lua
Remove .config/nvim/lua/plugin/20_completion.lua
Remove .config/nvim/lua/plugin/25_git.lua
Remove .config/nvim/lua/plugin/30_formatting.lua
Remove .config/nvim/lua/plugin/35_yanky.lua
Remove .config/nvim/lua/plugin/38_oil.lua
Remove .config/nvim/lua/plugin/40_ai.lua
Remove .config/nvim/lua/plugin/45_tmux.lua
Remove .config/nvim/snippets/global.json
Remove .config/nvim/snippets/lua.json
Remove .config/nvim/snippets/package.json
Remove .config/nvim/stylua.toml
This commit is contained in:
Lewis Wynne 2025-11-19 20:06:34 +00:00
parent e0b2318f85
commit cf0d36c81a
28 changed files with 0 additions and 911 deletions

View file

@ -1,28 +0,0 @@
-- 00_lazy.lua
-- Bootstraps lazy.nvim
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)
vim.g.mapleader = " "
vim.g.maplocalleader = "\\"
require("lazy").setup({
spec = {
{ import = "plugin" },
},
install = { colorscheme = { "habamax" } },
checker = { enabled = true, notify = false },
})

View file

@ -1,44 +0,0 @@
-- 10_opts.lua
-- stylua: ignore start
-- General ===================================
vim.g.mapleader = " "
vim.o.mouse = ""
vim.o.mousescroll = "ver:25,hor:6"
vim.o.switchbuf = "usetab"
vim.o.undofile = true
-- UI ========================================
vim.o.breakindent = true
vim.o.breakindentopt = "list:-1"
vim.o.colorcolumn = "+1"
vim.o.cursorline = true
vim.o.linebreak = true
vim.o.list = true
vim.o.number = true
vim.o.relativenumber = true
vim.o.pumheight = 10
vim.o.ruler = false
vim.o.signcolumn = "yes"
vim.o.splitbelow = true
vim.o.splitright = true
vim.o.winborder = "single"
vim.o.wrap = false
vim.o.cursorlineopt = "screenline,number"
-- Folds =====================================
vim.o.foldlevel = 10
vim.o.foldmethod = "indent"
vim.o.foldnestmax = 10
vim.o.foldtext = ""
-- Editing ===================================
vim.o.autoindent = true
vim.o.expandtab = true
vim.o.ignorecase = true
vim.o.incsearch = true
vim.o.infercase = true
vim.o.smartcase = true
vim.o.smartindent = true
vim.o.virtualedit = "block"
vim.o.iskeyword = "@,48-57,_,192-255,-"
vim.o.tabstop = 2
vim.o.shiftwidth = 2
-- Diagnostic ================================
vim.diagnostic.config({ virtual_text = true })

View file

@ -1,38 +0,0 @@
-- 20_keymaps.lua
---@diagnostic disable: unused-local, unused-function
-- stylua: ignore start
local map = function(mode, lhs, rhs, desc)
vim.keymap.set(mode, lhs, rhs, { noremap = true, desc = desc })
end
local nop = function(lhs) map({ "n", "v" }, lhs, "<nop>", "") end
local nmap = function(lhs, rhs, desc) map("n", lhs, rhs, desc) end
local xmap = function(lhs, rhs, desc) map("x", lhs, rhs, desc) end
local nmap_leader = function(lhs, rhs, desc) nmap("<Leader>" .. lhs, rhs, desc) end
nop('<C-w>s')
nop('<C-w>v')
nmap_leader(';', '<Cmd>vsplit<CR>', 'vsplit')
nmap_leader('-', '<Cmd>split<CR>', 'hsplit')
nmap_leader('ca', '<Cmd>lua vim.lsp.buf.code_action()<CR>', 'lsp code action')
nmap_leader('ci', '<Cmd>lua vim.lsp.buf.implementation()<CR>', 'lsp find implementation')
nmap_leader('cr', '<Cmd>lua vim.lsp.buf.references()<CR>', 'lsp find references')
nmap_leader('cR', '<Cmd>lua vim.lsp.buf.rename()<CR>', 'lsp rename')
local c = function(rhs)
return function()
local count = vim.v.count1
for _ = 1, count do
vim.cmd(rhs)
end
end
end
nmap(">", c("normal! >>"), "indent")
nmap("<", c("normal! <<"), "dedent")
xmap(">", ">gv", "indent and reselect")
xmap("<", "<gv", "dedent and reselect")

View file

@ -1,8 +0,0 @@
-- 30_autocmds.lua
vim.api.nvim_create_autocmd('TextYankPost', {
desc = 'Highlight when yanking text',
group = vim.api.nvim_create_augroup('highlight-yank', { clear = true }),
callback = function()
vim.highlight.on_yank()
end,
})

View file

@ -1,19 +0,0 @@
-- 40_statusline.lua
local cmp = {}
function _G._statusline_component(name)
return cmp[name]()
end
function cmp.window()
return vim.api.nvim_win_get_number(0)
end
local statusline = {
"%r",
"%m",
"%=",
}
vim.o.statusline = table.concat(statusline, "")