We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would love it if we could toggle folding by using 'za' is this possible?
Thanks!
The text was updated successfully, but these errors were encountered:
+1, also zc for close current fold and zo for open current fold
zc
zo
Sorry, something went wrong.
Taking a look at the default keybindings file you can find a part that defines folding:
{ "keys": ["ctrl+shift+["], "command": "fold" }, { "keys": ["ctrl+shift+]"], "command": "unfold" },
Just put it in you user key bindings adding command mode context and it will work fine:
{ "keys": ["z", "c"], "command": "fold", "context": [ { "key": "setting.command_mode", "operand": true }, { "key": "setting.is_widget", "operand": false } ] }, { "keys": ["z", "o"], "command": "unfold", "context": [ { "key": "setting.command_mode", "operand": true }, { "key": "setting.is_widget", "operand": false } ] }
You can do something similar to fold/unfold all
Thanks @mmagnuski
No branches or pull requests
I would love it if we could toggle folding by using 'za' is this possible?
Thanks!
The text was updated successfully, but these errors were encountered: