This website requires JavaScript.
Explore
Help
Sign in
jonny
/
dotfiles
Watch
1
Star
0
Fork
You've already forked dotfiles
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
509b16f543
dotfiles
/
neovim
/
config
/
plugins
/
init.lua
1 line
35 B
Lua
Raw
Normal View
History
Unescape
Escape
Add gitsigns via vim.pack, track the pack lockfile Restores plugin management after the v0.12 config rewrite dropped the earlier `vim.pack.add` calls. Plugins now live in `config/plugins/`, one file per plugin, so adding the next is a single require. Sets `<leader>` to Space for the gitsigns hunk mappings, and pins 'signcolumn' open so git and diagnostic signs don't shift text. The lockfile moves into the repo and is symlinked by bootstrap.sh, as the vim.pack docs recommend, giving reproducible plugin revisions across machines and a rollback path via git. vim.pack writes it with a truncating open, so it follows the symlink rather than replacing it. Drops the orphaned nvim-tree entry, unreferenced since the rewrite. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-08 13:57:02 +01:00
require
(
'
config.plugins.gitsigns
'
)
Reference in a new issue
Copy permalink