Feature request: Move cursor to unfold
Open
- Dominant language
- JavaScript
- Stars
- 10.1k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
It would be nice to have an option to enable "down to unfold" feature in sublime mode.
```
diff --git a/public/js/lib/editor/index.js b/public/js/lib/editor/index.js
--- a/public/js/lib/editor/index.js
+++ b/public/js/lib/editor/index.js
@@ -85,6 +85,10 @@ export default class Editor {
'Cmd-Right': 'goLineRight',
Home: 'goLineLeftSmart',
End: 'goLineRight',
+ 'Down': function(cm) {
+ cm.moveV(1, "line")
+ cm.execCommand('unfold')
+ },
'Ctrl-C': function (cm) {
if (!isMac && cm.getOption('keyMap').substr(0, 3) === 'vim') {
document.execCommand('copy')
```
Contributor guide
Assessment
This issue has not been assessed yet.