I am editing React .jsx files and I do not want to backtrack in a new line, how to disable it?
.jsx
Mx electric-indent-local-mode should do this if you are using Emacs-24.4.
Mx electric-indent-local-mode
In Emacs 25.1.1, setting electric-layout-mode to -1 seems to work. So in js2-mode-hook add:
electric-layout-mode
-1
js2-mode-hook
(add-hook 'js2-mode-hook (lambda() (electric-layout-mode -1)))
Source: https://habr.com/ru/post/1216393/More articles:COBOL 88 data type - glossaryGroup variable in cobol - cobolDoes the prefix "NO" have any special meaning in the COBOL variable? - cobolVerifying COBOL data for a capital letter? - validationData Validation - cobolhow to collect sql source output into a file? - scalaifelse & grepl when using dplyr for SQL in-db operations - sqlcassandra-stress "Failed to connect via JMX without collecting this data" - cassandraProgrammatically change the focus of a button on an onClick button - androidclojure jdbc: how to insert into a table with a special schema? - clojureAll Articles