Before I make a plugin for this, can anyone say whether it’s possible to have a key binding (ie: alt+enter) execute a new line but not tab indent immediately after. I’d like the cursor to be at the start of the line on CR when alt+enter is pressed.
No tab indent on new line (shortcut)
guillermooo
#2
It seems simpler to define a macro:
{"command": "move_to", "args": {"to": "hardeol"}},
{"command": "insert", "args": {"characters": "\n"}},
{"command": "move", "args": {"by": "lines", "forward": true}},
{"command": "move_to", "args": {"to": "hardbol"}}
]
0 Likes