Autoscroll doesn't work past the end of buffer when using clojure_sublimed_insert_newline
I have set the `enter` keybinding to execute `clojure_sublimed_insert_newline`. When I hit enter towards the end of the buffer, it does not autoscroll the buffer and my cursor disappears. I have to scroll the buffer manually to see the cursor again.
Steps to reproduce:
- Enable the `enter` keybinding by adding this to sublime keybindings
``` {
"keys": ["enter"],
"command": "clojure_sublimed_insert_newline",
"context": [
{
"key": "selector",
"operator": "equal",
"operand": "source.edn | source.clojure"
},
{
"key": "auto_complete_visible",
"operator": "equal",
"operand": false
},
{ "key": "panel_has_focus", "operator": "equal", "operand": false }
]
}
```
- Move your cursor to the bottom of the buffer and hit enter a few times to see the cursor disappear
With the keybinding:

Without the keybinding:

关闭于 2025-04-06 2 条评论