Minimalist text editor with vim-compatible key bindings.
Add this rule to your configuration (aretext -editconfig
) to enable syntax highlighting for p4
- name: p4
pattern: "**/*.p4"
config:
syntaxLanguage: p4
Add this rule to your configuration (aretext -editconfig
) to enable syntax highlighting for Makefiles:
- name: makefile
pattern: "**/Makefile*"
config:
autoIndent: true
syntaxLanguage: makefile
tabExpand: false
tabSize: 4
showLineNumbers: true
lineNumberMode
to support displaying relative line numbers.Release announcement blog post: https://dev-nonsense.com/posts/aretext-1.0-release/
Add these rules to your configuration (aretext -editconfig
) to enable syntax highlighting for bash, xml, and html:
- name: shell
pattern: "**/*.sh"
config:
autoIndent: true
syntaxLanguage: bash
tabExpand: true
tabSize: 4
showLineNumbers: true
- name: xml
pattern: "**/*.xml"
config: &xmlconfig
autoIndent: true
syntaxLanguage: xml
tabExpand: true
tabSize: 2
showLineNumbers: true
- name: html
pattern: "**/*.html"
config: *xmlconfig
Fixes a bug that could cause an infinite loop when a last action is replayed in a user macro.
Release announcement blog post: https://dev-nonsense.com/posts/aretext-0.7-release/
[(
and ])
commands to match next/prev parentheses.[{
and ]}
commands to match next/prev braces.Aretext now validates that the menu commands in the configuration file have a "shellCmd" key with a non-empty value. If aretext fails on startup with a validation error, follow these steps to fix it.
The "set syntax" menu commands have been removed. This avoids some confusing behavior in which the menu commands would use the color palette based on configuration for the current file.
Bugfix: Move cursor right past end of line in insert mode
Release announcement blog post: https://dev-nonsense.com/posts/aretext-0.6-release/
Add these rules to your configuration (aretext -editconfig
) to enable markdown and todo.txt:
- name: markdown
pattern: "**/*.md"
config:
syntaxLanguage: markdown
lineWrap: "word"
styles:
tokenCustom1: {color: "teal", bold: true} # Heading
tokenCustom2: {color: "default", italic: true} # Emphasis
tokenCustom3: {color: "default", bold: true} # Strong emphasis
tokenCustom4: {color: "purple", underline: true} # Link
- name: todo
pattern: "**/*.todo" # or "**/todo.txt"
config:
autoIndent: true
syntaxLanguage: todotxt
tabExpand: true
tabSize: 4
showLineNumbers: true
$LINE
env var in shell commands.This release is backwards-compatible with aretext YAML configurations from v0.4.x.
This release is backwards-compatible with aretext YAML configurations from v0.3.x.
(This includes some extraneous commits from changes cherry-picked from the main branch onto v0.3.0.)