Questions tagged [multiple-modes]

Editing mixed-content files with multiple major modes in the same buffer

2 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
233 views

Syntax highlight embedded script

I have a bash shell script that has a fairly sizable amount of perl code in it. Is there a why to get perl syntax highlighting instead of the normal here doc coloring? Thank you for any help, I'm new ...
0
votes
0answers
26 views

Edit a portion of YAML file (a multi-line string) with a different mode

I'm constantly editing a big yaml file with many multi-line strings, which are BASH scripts. In org-mode I would use something like: #+begin_src sh echo "cool" #+end_src And then just to C-c ' (org-...