Skip to content

Conversation

@vheon
Copy link

@vheon vheon commented Dec 30, 2012

As I read in the vim documentation, closed fold should be treated as single line, so I thought that this could be helpful to keep all consistent. I'm a new to vimscript so if it is poorly structured or if could be improved with some vimscript trick let me know.

@tpope
Copy link
Owner

tpope commented Dec 30, 2012

I think I agree (although :move itself doesn't support this, curiously). How does your solution hold up when a count is given?

@vheon
Copy link
Author

vheon commented Dec 31, 2012

The count work just fine, but there's another problem: when you move a closed fold to a line where there's another closed fold the first one gets inside the latter and to me is a horrible thing, so I prefer if you put on hold this pull request until I figure it out a way of make this work and if this "feature" worth the complexity of doing it.

(p.s. sorry if my english is not good enough)

@tpope
Copy link
Owner

tpope commented Dec 31, 2012

No worries. When you figure it out, please squash it to a single commit. Thanks!

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