go(9)go - Go programming language templates
hkgo.emf - Go programming language hook definition
go.eaf - Go programming language abbreviation file
go.etf - Go programming language template file
.go - Go
The go 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
Working Environment
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,
Executing, Formatting and Linting Go Code
The hilighting or the item-list matches are typically extended using a file mygo.emf
abbrev-list(3), c(9), collapse-all(3), collapse-current(3), compile(3), expand-abbrev-handle(3), file-exec(3), file-format(3), file-lint(3), item-list(3), restyle-buffer(3), restyle-region(3), time(2m).
(c) Copyright JASSPA 2025
Last Modified: 2025/08/28
Generated On: 2025/09/29