tide is a TypeScript dev env in Emacs. It overrides {, }, ;, etc in the insert mode and thus they doesn't work with extra cursors.
This is the information of } input in the insert mode.
} runs the command typescript-insert-and-indent, which is an interactive
compiled Lisp function in `typescript-mode.el'.
It is bound to ,, ;, :, ), (, }, {.
(typescript-insert-and-indent KEY)
Run the command bound to KEY, and indent if necessary.
Indentation does not take place if point is in a string or
comment.
Because of the KEY, maybe, I couldn't make it work with :default, and just used self-insert-command as we may not expect lines to be auto-indented when working with multiple cursors.
Please leave comments if there is a better way to do this.
tide is a TypeScript dev env in Emacs. It overrides
{
,}
,;
, etc in the insert mode and thus they doesn't work with extra cursors.This is the information of
}
input in the insert mode.Because of the
KEY
, maybe, I couldn't make it work with:default
, and just usedself-insert-command
as we may not expect lines to be auto-indented when working with multiple cursors.Please leave comments if there is a better way to do this.
Thanks for the great package!