Skip to content

Enable gitsigns.nvim recommended keymaps by default - #2158

Merged
oriori1703 merged 1 commit into
nvim-lua:masterfrom
dam9000:pr-gitsigns-keymaps
Sep 5, 2026
Merged

Enable gitsigns.nvim recommended keymaps by default#2158
oriori1703 merged 1 commit into
nvim-lua:masterfrom
dam9000:pr-gitsigns-keymaps

Conversation

@dam9000

@dam9000 dam9000 commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Please consider merging this.
I see no drawback in having the gitsigns.nvim recommended keymaps be enabled by default
The initial reason these were outside of init.lua was so that the line count of init.lua was kept relatively low and the reason it was disabled by default was the wish that an init.lua without any extra files (plugins) would work just as well - in case someone just copied the init.lua file and not the rest of the accompanying plugins.
Now with the keymaps integrated into init.lua, there is no need to have them commented out, there is nothing left to protect against, it just adds friction to what is a sensible default.

related: #2092

@oriori1703
oriori1703 merged commit 33cef65 into nvim-lua:master Sep 5, 2026
1 check passed
@dam9000

dam9000 commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

@oriori1703 Thank you! :)

@dam9000
dam9000 deleted the pr-gitsigns-keymaps branch September 5, 2026 13:28
dam9000 added a commit to dam9000/kickstart-modular.nvim that referenced this pull request Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants