Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
262 views
in Technique[技术] by (71.8m points)

how to select the max valid enclosing json in vim

Assume the current caret is inside a json object in vim, how can I select the maximum valid enclosing json? I literally don't have much idea about how to do this.

question from:https://stackoverflow.com/questions/65895719/how-to-select-the-max-valid-enclosing-json-in-vim

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Try:

vap

This select all paragraph, in many cases this is what you need.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...