Question

How can i disable emmet preview after expanding an abbreviation (pressing C-j) in emmet-mode for emacs? I just want to expand an abbreviations with emmet preview showing up.

Was it helpful?

Solution

To disable preview only for current expansion call emmet-expand-line with universal argument (C-u) i.e. C-uC-j. To disable preview completely add the following to your init file

(setq emmet-preview-default nil)

From C-hvemmet-preview-defaultRET

If non-nil then preview is the default action. This determines how `emmet-expand-line' works by default.

The above will completely disable preview. In case you want preview for a particular expansion (after disabling it completely), you can call emmet-expand-line with universal argument (C-uC-j)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top