hiv是什么
Tagged with folding cut-copy-paste
4 questions
0
votes
2
answers
64
views
Copy text from all folds, excluding titles
How do I copy all lines from all folds, excluding the fold titles?
2
votes
1
answer
140
views
Is it possible to keep folds saved when I copy from one file to another?
I've recently discovered I can fold blocks of code with Vim by using zf.Then I can open and close them with zo and zc... I've also seen this solution on StackOverflow that has a vimrc configuration ...
3
votes
4
answers
1k
views
How to select/delete/yank the contents of only the current fold?
When using foldmethod=marker, how do you select or reference exactly the contents of the current fold? I want to swap the order of two folds. If they were paragraphs, I would do dap { p. However, I ...
3
votes
0
answers
203
views
how to delete a paragraph respecting the folds?
I have a file (filetype=javascript), this is how it looks without folds:
and with folds:
I can move with the { and } motions skipping the empty lines inside the folds (thanks to these question and ...