@jr0cket, I love the configs, I am using your astro config quite often now 😄 One thing that I am trying to find is a shortcut to remove a key-value pair from maps, not sure if you have seen something like that?
thanks so much John, I've been using dd and yea, for online key-par its perfect, >pand <p I will try it out. d% is very nice, I will start it more, for certain cases I do use da{ and da( .Thanks again o/
Thanks for the feedback.
If each key value pair is on its own line then a to https://github.com/julienvincent/nvim-paredit?tab=readme-ov-file#pairwise-dragging, like key value pairs forward and backward, although it doesnt seem to drag them out of the map. It may be possible to drag the pair to a place where its easy to delete them with dd would be a simple way to delete them.
Otherwise d2w should work (or possibly d3w if the key or value is a string or data structure)
nvim-paredit has >p and dd
If there is a lot of nesting in a map then it can get tricky. If the value is a data structure (vector, map, etc), then you could delete the key and use d% to delete the value.
If you have any specific examples of map & key value pairs, I am happy to experiement.