nim(9)nim - Nim programming language
hknim.emf - Nim programming language hook definition
nim.eaf - Nim programming language abbreviation file
nim.etf - Nim programming language template file
.nim - Nim
General Editing
Hilighting
Auto Layout
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 hashes (#).
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 Nim code
nim compile --verbosity:0
for linting,
nim run --verbosity:0
for executing and the nimpretty application for formatting. The user may install the nph application for better formatting on a Unix system using the nim package manager nimble as follows:
nimble install nph
If the application nph is not available, the default nimpretty will be used instead.
The hilighting or the addition of new item list matches is typically extended using a file mynim.emf. Support for classes can be added by adding the classes package using the nimble package manager like this:
nimble install classes
abbrev-list(3), collapse-all(3), collapse-current(3), compile(3), expand-abbrev-handle(3), file-exec(3), file-format(3), file-lint(3), item-list(3), time(2m).
(c) Copyright JASSPA 2026
Last Modified: 2026/02/25
Generated On: 2026/03/01