a to z

approvedunreviewed

by supatipanno5611

add various features for korean users

↓ 216 downloadsUpdated 22d agoMIT

a to z

English | 한국어

한국어 사용 설명서: atoz-docs.vercel.app

Buy Me a Coffee

a to z is an Obsidian plugin designed to streamline writing workflows, with particular support for Korean users.

It brings frequently used editing actions, note versions, frontmatter and topic management, note info, snippets, symbol input, and a sleep log together as commands and settings.

Features

AreaMain features
EditingCopy or cut an entire note, copy or cut the selection or current line, delete the current line, and focus the main editor
Note organizationMove the current file, clean up tabs, and keep auto-generated note lists
VersionsSave numbered versions of a note, revert to one, and see what changed between two versions
Property managementEdit and clean up topics, date, and other supported properties
Note infoCharacter counts for the note or selection, reading time, and per-note writing targets
Input assistanceInsert reusable snippets and symbols, and delete matching symbol pairs together
NavigationCycle through sidebar tabs
Sleep logRecord sleep and wake times with one button and view them as a 24-hour chart in the Daynight sidebar

The plugin automatically uses Korean UI text when Obsidian's interface language is Korean. All other interface languages use English.

Installation

Community plugins

Once the plugin is available in the Obsidian Community directory:

  1. Open Settings → Community plugins.
  2. Search for a to z.
  3. Select Install, then enable the plugin.

Manual installation

  1. Download or clone this repository.
  2. Install the dependencies.
npm install
  1. Build the plugin.
npm run build
  1. Create the following folder inside your vault:
<your-vault>/.obsidian/plugins/atoz/
  1. Copy these files into the folder:
manifest.json
main.js
styles.css
  1. Reload Obsidian and enable a to z under Settings → Community plugins.

The minimum supported Obsidian version is 1.13.0. The plugin supports both desktop and mobile.

Recommended initial settings

After enabling the plugin, open Settings → a to z and configure only the features you need.

SettingDefaultDescription
Enable cursor centeringOffKeeps the cursor near the center of the screen while editing.
Enable standalone sidebar ribbonOffPins the ribbon to the left edge when the left sidebar is closed. Mobile and tablet only.
Reading time basisWithout spacesCharacter-count basis used to estimate reading time.
Reading speed500Personal reading speed in characters per minute.
Target presets1,000±50, 1,500±75, 2,000±100, 3,000±150Writing targets. Each preset is a target ± tolerance, a range (minimum to maximum), a minimum, or a maximum.
Snippet trigger character@Opens snippet suggestions while typing.
Snippet suggestion limit5Maximum number of snippet suggestions shown.
Snippet listEmptyStores reusable text, one snippet per line.
Symbol trigger character~Opens symbol suggestions while typing.
Symbol suggestion limit5Maximum number of symbol suggestions shown.
Symbol listDefault symbol setConfigures each symbol's ID, displayed character, and optional closing character.
Work note pathwork.mdFile opened by the Open work note command.
Version note folderEmpty (next to the source note)Folder where version notes are created.
Sleep record folderEmpty (sleep)Folder where monthly sleep records are saved.

Use Reset all settings to restore these defaults.

Common workflows

Save and compare versions

  1. Run Version: Save current state in a note. A version note named <number>_<timestamp> is created with a version property that links back to the source.
  2. Run Version: Revert to saved version to replace the note body with a saved version. The current frontmatter is kept.
  3. Run Version: Open comparison view to see what changed between two points: saved versions, the current note, or an empty note. Changes are highlighted down to the word, and moved paragraphs are marked. Version names can be changed from the comparison view.

Keep note lists

Set notelist: true in a note's frontmatter. The plugin fills the note body with a - [[link]] list of every note that links to it, sorted by name. Lists refresh when Obsidian starts and when you run Note list: Refresh all. Notes whose body contains anything other than such a list are skipped, so hand-written content is never overwritten.

Log sleep with Daynight

Open the Daynight sidebar from the moon ribbon icon or the Daynight: Open sidebar command. Press the button at the bottom to record Sleep now or Wake up now. Records are appended to a monthly sleep-YYYY-MM.md table. The sidebar shows the current state, a 24-hour chart that steps through sleep periods with ‹ and ›, and the most recent records (four by default, adjustable in settings). Only the last record can be edited or deleted, so sleep and wake records always alternate.

Clean up frontmatter

Clean up properties in entire vault checks Markdown files in the vault against the supported property list:

date:
topics:
title:
description:
cssclasses:
aliases:
tags:
target-characters:
target-tolerance:
min-characters:
max-characters:
version:
notelist:

Unsupported empty properties are removed automatically. Files containing unsupported properties with values are opened in new tabs for review. log.md and the configured work note are excluded.

Insert snippets and symbols

By default, type @ followed by a search term to open snippet suggestions. Selecting an existing snippet replaces the typed range. A new snippet can be added directly from the suggestion list.

Type ~ followed by a symbol ID to open symbol suggestions. A symbol with a closing character wraps selected text, or inserts the pair and places the cursor between them. Pressing Backspace between a matching pair deletes both characters.

Commands

CommandDescription
Toggle Cursor centeringKeeps the cursor near the center of the screen while editing.
Copy entire noteCopies the entire current note to the clipboard.
Cut entire noteCopies the entire current note, then clears it.
Copy selection or current lineCopies the selection, or the current line when nothing is selected.
Cut selection or current lineCuts the selection, or the current line when nothing is selected.
Delete current lineDeletes the line containing the cursor.
Focus main editorReturns focus to the main Markdown editor.
Toggle mobile toolbarShows or hides the bottom toolbar on mobile.
Toggle standalone sidebar ribbonTurns the standalone sidebar ribbon on or off.
Move current fileMoves the current Markdown file to another folder in the vault.
Edit topicsSearches vault notes, headings, and existing block IDs to add, remove, or re-alias topic wikilinks.
Date: Insert today's date if emptyAdds today's date only when the date property is absent.
Date: Change to today's dateReplaces the date value with today's date.
Clean up properties in entire vaultRemoves unsupported empty properties and opens files that need review.
Note info: Open sidebarShows character counts, reading time, and the writing target in the left sidebar.
Note info: Set writing targetAssigns a configured preset or a typed target, or clears the current target.
Open work noteOpens the configured work note.
Close all unpinned tabsCloses unpinned tabs in the main workspace.
Version: Save current stateSaves the current note as a numbered version note.
Version: Revert to saved versionReplaces the note body with a saved version.
Version: Open comparison viewShows what changed between two versions of the current note.
Note list: Refresh allRebuilds the body of every note with notelist: true.
Daynight: Open sidebarShows the sleep log in the right sidebar.
Left/Right sidebar: next/previous tabCycles through the tabs of the left or right sidebar.
Restart input method fixRestarts the Korean input method fix.

Ribbon icons provide quick access to the work note, mobile toolbar, bookmarking the active tab, note info, and the Daynight sidebar.

Documentation

Detailed feature documentation is available in Korean at atoz-docs (source):

DocumentTopic
cursor-centerCursor centering
cut-copyCopy and cut actions
delete-paragraphDelete the current line
focus-root-leafFocus the main editor
move-current-fileMove the current file
workWork note and tab cleanup
edit-topicsTopic editing
date-propertyDate properties
lint-propertiesProperty cleanup
document-infoCharacter counts, reading time, and writing targets
mobile-toolbarMobile toolbar visibility
snippetsSnippet suggestions
symbolsSymbol suggestions and paired deletion
daynightDaynight sleep log sidebar
versionsSaving, reverting, and comparing versions
note-listAuto-generated note lists
othersSidebar tab cycling, standalone ribbon, file menu items, bookmarks, and the Korean input method fix

Credits

The snippet and symbol suggestions include code adapted from slash-snippets-plugin by Saurav, used under the MIT License. See THIRD_PARTY_NOTICES.md for the full license text.

Support

If this plugin helps your writing, you can support its development on Buy Me a Coffee.

Development

Source files are located in src/. The build output is generated as main.js in the repository root.

npm run dev

Starts esbuild in watch mode with src/main.ts as the entry point and generates a source-mapped main.js.

npm run build

Runs the TypeScript type check and creates a production bundle.

npm run lint

Checks the project with ESLint and the recommended Obsidian plugin rules.

npm run version

Runs version-bump.mjs, then stages manifest.json and versions.json.

npm run release

Interactively shows the latest release tag and commits since that tag, then offers major, minor, and patch version choices. After confirmation, it verifies a clean main branch and the remote state, updates all version metadata, runs lint and build checks, creates the release commit and tag, and atomically pushes both main and the tag. The existing GitHub Actions workflow then builds, attests, and publishes the release. Commit the release script itself before using it for the first time.

The script also checks the documentation repository at ../atoz-docs: it must be on a clean main branch that is not behind origin/main. Documentation commits since the last release are listed, and if there are none, the script asks again before continuing. After the plugin is pushed, the same version tag is added to the documentation repository and pushed along with its main.

Project structure

.
├── manifest.json        # Obsidian plugin metadata
├── main.js              # Bundle generated by esbuild
├── styles.css           # Plugin styles
└── src/
    ├── locales/         # English and Korean UI text
    ├── main.ts          # Plugin loading, commands, and events
    ├── setting.ts       # Settings tab
    ├── types.ts         # Settings types and defaults
    ├── utils.ts         # Shared utilities
    └── features/        # Feature implementations

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.