Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds zC and zO folding commands #97

Merged
merged 1 commit into from Apr 29, 2016

Conversation

pbu88
Copy link
Contributor

@pbu88 pbu88 commented Aug 28, 2015

Hi!

I love the folding methods and I was in need of zC and zO (specially zO). So I saw that it was very straightforward to add them and went ahead and do it. I tested this on a dev environment. Please let me know your thoughts.

Cheers!

@jbyler
Copy link

jbyler commented Oct 2, 2015

I have no objection to adding this to the source code, and I think this makes sense given the commands are there and the bindings exist in Vim. But as a workaround in the meantime, you can just add to your ~/.ideavimrc:

nnoremap zC :action CollapseRegionRecursively<CR>
nnoremap zO :action ExpandRegionRecursively<CR>

@pbu88
Copy link
Contributor Author

pbu88 commented Oct 2, 2015

It's been in my .ideavimrc for a while now :) I use it all the time.

@vlasovskikh vlasovskikh merged commit 52a0af1 into JetBrains:master Apr 29, 2016
@vlasovskikh
Copy link
Contributor

@pbu88 Thanks for your pull request!

@pbu88 pbu88 deleted the adds_more_folding_commands branch May 1, 2016 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants