c3(9)js - Javascript programming language
hkjs.emf - Javascript programming language hook definition
js.eaf - Javascript programming language abbreviation file
js.etf - Javascript programming language template file
.js - Javascript language file
The js file type templates share much with the c(9) template definitions, utilising the electric 'C' features for automatic layout of text.
General Editing
Hilighting
Auto Layout
restyle-region(3) and restyle-buffer(3) are available to reformat (re-layout) selected sections of the buffer, or the whole buffer, respectively.
Comments may be formatted using esc o, which reformats the comments according to the current fill paragraph. If a comment commences with /***... then the comment is automatically formatted to a box.
Folding and Information Hiding
Navigation via Item List
Abbreviations
List Items
Tags
Short Cuts
C-c C-c - Comment out the current line.
C-c C-d - Uncomment the current line.
C-c C-e - Comment to the end of the line with stars (*).
A-C-i - Restyle the current region.
esc q - Format a comment.
esc o - Format a comment.
f2 - (Un)fold the current region.
C-f2 - (Un)fold all regions.
f6 - List items.
esc f6 - Close item list,
The hilighting or the addition of new item list matches is typically extended using a file myjs.emf.
abbrev-list(3), c(9), collapse-all(3), collapse-current(3), expand-abbrev-handle(3), find-tag(2), item-list(3), jstags(3f), restyle-buffer(3), restyle-region(3), time(2m).
(c) Copyright JASSPA 2025
Last Modified: 2025/08/28
Generated On: 2025/09/29