feat: add new plugins, refactor options, and improve blink.cmp detection

- Add focusline.nvim for scroll-aware cursor centering
- Add kitty-scrollback.nvim for Kitty terminal scrollback integration
- Add qalc.nvim for inline calculator support
- Add blink.lib as explicit dependency for blink.cmp
- Fix blink.cmp binary detection to check v2 install path first
- Add PackChanged autocmd to auto-rebuild blink.cmp after updates
- Expand inc-rename.nvim config with all available options documented
- Add luv library path to lazydev for vim.uv completions
- Consolidate leader key setup into options.lua (remove duplicate in init.lua)
- Add autoread + FocusGained/CursorHold triggers for external file changes
- Add BufReadPost autocmd to restore last cursor position on file open
- Reorganize options.lua with section headers and logical grouping
- Update plugin lockfile revisions (blink.cmp, conform, gitsigns, lualine, etc.)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-08 12:30:14 -04:00
parent 93d8f9a28d
commit c28e6c3e59
4 changed files with 184 additions and 66 deletions
+10 -14
View File
@@ -19,27 +19,23 @@
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <https://www.gnu.org/licenses/>.
-- Set leader keys before loading any plugins
vim.g.mapleader = " "
vim.g.maplocalleader = " "
-- Initialize global registry
_G.Config = {
plugins = {},
called = {},
plugins = {},
called = {},
}
-- Load core modules
require('lazyload')
require('options')
require('plugins')
require('keymaps')
require("lazyload") -- Plugin lazy-loading module
require("options") -- Configuration options
require("plugins") -- Plugin specifications and setup
require("keymaps") -- Key mappings
-- Source machine-local and secret overrides (silently ignored if absent)
local user_dots = vim.fn.expand("~/.config/.user-dots/nvim/")
for _, file in ipairs({ "secrets.lua", "local.lua" }) do
local path = user_dots .. file
if vim.fn.filereadable(path) == 1 then
dofile(path)
end
local path = user_dots .. file
if vim.fn.filereadable(path) == 1 then
dofile(path)
end
end