- Remove nvim-autopairs (LazyVim's mini.pairs already handles pairing) - Remove spectre (superseded by LazyVim's grug-far, conflicted on <leader>sr) - Remove todo-comments override (LazyVim default covers it; <leader>st pointed at TodoTelescope, which is broken without telescope) - Trim colorscheme.lua to oxocarbon only, set via LazyVim opts; fix install colorscheme in lazy.lua - Delete disabled greggh/claude-code.nvim spec - Drop obsolete which-key config function and empty defaults table - Tile vertically for any multi-file open, not just exactly two - Add stylua.toml and format all lua to 2-space indent Co-Authored-By: Claude Fable 5 <[email protected]>
18 lines
638 B
Lua
18 lines
638 B
Lua
-- 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")
|
|
|
|
-- When opening multiple files, tile them vertically (side by side)
|
|
vim.api.nvim_create_autocmd("VimEnter", {
|
|
callback = function()
|
|
if vim.fn.argc() > 1 then
|
|
vim.cmd("vertical ball")
|
|
end
|
|
end,
|
|
})
|