You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this package. I've only been using it for a day and my fingers thank you already!
EDIT simplified question: What's the most efficient way to handle inserting a comma and then invoking newline-and-indent ("C-j") with devil-mode? Typing , , , j works but is a lot to type.
I'm thing of scenarios where one is creating a list with one item per line, indented, with comma at the end of each item:
constmyList=["one","two","three",// ...
The text was updated successfully, but these errors were encountered:
If you are using electric-indent-mode (which is enabled in Emacs by default unless your configuration turns it off or the major-mode opts out of using it) you just have to type , RET.
(I know this doesn't directly answer the question, but if the major-mode applies indentation correctly then the path of least resistance is just to let the major-mode take over. This way the longer key sequence would be for opting out of having indentation applied rather than opting into it.)
Thanks for this package. I've only been using it for a day and my fingers thank you already!
EDIT simplified question: What's the most efficient way to handle inserting a comma and then invoking
newline-and-indent
("C-j"
) withdevil-mode
? Typing, , , j
works but is a lot to type.I'm thing of scenarios where one is creating a list with one item per line, indented, with comma at the end of each item:
The text was updated successfully, but these errors were encountered: