kickstart.nvim icon indicating copy to clipboard operation
kickstart.nvim copied to clipboard

feat: built-in undotree plugin

Open nathanzeng opened this issue 7 months ago • 6 comments

The newly added built-in undotree plugin is pretty awesome. Let's make sure people have it.

This PR require neovim 0.12

nathanzeng avatar Apr 16 '26 22:04 nathanzeng

I would also add a keymap to open the undotree.

feketegy avatar Apr 19 '26 13:04 feketegy

I don't think it's necessary. Kickstart is meant to jump start people's configs, not configure everything for them. Users can read the help and add a keymap for this command/action if they wish.

nathanzeng avatar Apr 19 '26 19:04 nathanzeng

I don't think it's necessary. Kickstart is meant to jump start people's configs, not configure everything for them. Users can read the help and add a keymap for this command/action if they wish.

I agree with the argument, but it can also be used to argue that we don't need to enable this at all, so I'm a bit on the fence about this.

I think I'm going to leave this open for a bit and see if anyone has a strong opinion about this before deciding.

oriori1703 avatar May 06 '26 21:05 oriori1703

Sure I can definitely see that argument.

I wanted to include it because

  1. Many of the major IDEs do not have this functionality, so I thought it could be cool to highlight this.
  2. It's a neovim bundled plugin so it shouldn't add as much weight / dependency to the config

nathanzeng avatar May 07 '26 05:05 nathanzeng

but yeah, after rebasing I do question whether it is a foundational setting. If it was added, maybe it goes in a different section?

nathanzeng avatar May 07 '26 06:05 nathanzeng

Many of the major IDEs do not have this functionality, so I thought it could be cool to highlight this.

How a bout adding it as commented out code like the repo does in other places? That way everyone (who actually reads the config :D ) is pointed to the function and can try it out/decided on their own, if they want it?

Imo that would be a compromise and help people learn about neovim, without forcing a feature on them they don't want.

Christoph-Raab avatar May 07 '26 06:05 Christoph-Raab