Skip to content

Commit

Permalink
Release v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
davisriedel committed Jan 7, 2025
1 parent bf5c738 commit 8470979
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 24 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## 1.1.0

This update adds a `restore cursor position` functionality. When you open a file the
cursor will automatically jump to the position it was at when you edited the file the last
time. This lets you continue right where you left off. **The feature is _not_ enabled by
default. You can enable it in the plugin's settings.**

The feature is similar to the incredible [Remember Cursor Position](https://arc.net/l/quote/jmvjfrza) by [dy-sh](https://github.com/dy-sh) and loosely based on it. But it should provide a better performance, because it does not store the cursor position based on a timer, but only when the cursor actually moves (which is when the Typewriter Mode plugin runs its updates anyway).

_Other minor changes include:_

- Fix live update of current line highlight style setting
- Add commands to toggle/activate/deactivate the complete plugin
- Internal code restructuring
- Bug fixes

## 1.1.0-beta.3

- Fix live update of current line highlight style setting
Expand Down
1 change: 1 addition & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Build with `just build`
- Create / update test vault with `just test-vault`
- Use `just dev` to build and update test vault in one step
- Use `just debug` to print `console.debug` statements (all other commands strip these)

2. Test in Obsidian
- Open the test vault in Obsidian
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Typewriter Mode for Obsidian

<!-- markdownlint-capture -->
<!-- markdownlint-disable -->
| | | | | |
| -- | -- | -- | -- | -- |
|[![](https://img.shields.io/badge/GitHub-%2330363E.svg?style=for-the-badge\&logo=github\&logoColor=white)](https://github.com/davisriedel/obsidian-typewriter-mode)|[![](https://img.shields.io/badge/Obsidian-%23483699.svg?style=for-the-badge\&logo=obsidian\&logoColor=white)](https://obsidian.md/)|[![](https://img.shields.io/github/v/release/davisriedel/obsidian-typewriter-mode?style=for-the-badge)](https://github.com/davisriedel/obsidian-typewriter-mode/releases)|[![](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-ffdd00?style=for-the-badge\&logo=buy-me-a-coffee\&logoColor=black)](https://www.buymeacoffee.com/davis.riedel)|[![](https://img.shields.io/badge/sponsor-30363D?style=for-the-badge\&logo=GitHub-Sponsors\&logoColor=#EA4AAA)](https://github.com/sponsors/davisriedel)|
<!-- markdownlint-restore -->

Typewriter Mode is plugin that adds several features to turn [Obsidian](https://obsidian.md) into a typewriter-like, distraction-free writing environment, including:

Expand All @@ -12,6 +15,7 @@ Typewriter Mode is plugin that adds several features to turn [Obsidian](https://
- Dimming unfocused paragraphs / sentences
- Fullscreen writing focus
- Limit line length to set number of characters
- Restore the cursor's position when opening files

## Compatibility

Expand Down
6 changes: 3 additions & 3 deletions manifest-beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"id": "typewriter-mode",
"name": "Typewriter Mode",
"author": "Davis Riedel",
"authorUrl": "https://github.com/davisriedel",
"description": "Typewriter scrolling, highlighting of the current line, dimming of unfocused paragraphs, writing focus and more.",
"authorUrl": "https://davis-riedel.de/en/software",
"description": "Typewriter scroll, highlight current line, dim unfocused paragraphs and sentences, writing focus, restore cursor position and more.",
"isDesktopOnly": false,
"minAppVersion": "0.15.0",
"version": "1.1.0-beta.3",
"version": "1.1.0",
"fundingUrl": {
"Buy Me a Coffee": "https://www.buymeacoffee.com/davis.riedel",
"GitHub Sponsors": "https://github.com/sponsors/davisriedel"
Expand Down
6 changes: 3 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"id": "typewriter-mode",
"name": "Typewriter Mode",
"author": "Davis Riedel",
"authorUrl": "https://github.com/davisriedel",
"description": "Typewriter scrolling, highlighting of the current line, dimming of unfocused paragraphs, writing focus and more.",
"authorUrl": "https://davis-riedel.de/en/software",
"description": "Typewriter scroll, highlight current line, dim unfocused paragraphs and sentences, writing focus, restore cursor position and more.",
"isDesktopOnly": false,
"version": "1.0.0",
"version": "1.1.0",
"minAppVersion": "0.15.0",
"fundingUrl": {
"Buy Me a Coffee": "https://www.buymeacoffee.com/davis.riedel",
Expand Down
33 changes: 16 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
{
"name": "obsidian-typewriter-mode",
"version": "1.1.0-beta.3",
"version": "1.1.0",
"obsidianMinAppVersion": "0.15.0",
"author": "Davis Riedel",
"repository": {
"type": "git",
"url": "https://github.com/davisriedel/obsidian-typewriter-mode"
},
"devDependencies": {
"@biomejs/biome": "latest",
"@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.34.1",
"@biomejs/biome": "^1.9.4",
"@codemirror/state": "^6.5.0",
"@codemirror/view": "^6.36.1",
"@namchee/bun-plugin-strip-debug": "^1.0.4",
"@types/bun": "latest",
"@types/bun": "^1.1.15",
"@types/codemirror": "^5.60.15",
"@types/node": "^20.16.10",
"builtin-modules": "^3.3.0",
"electron": "^28.3.3",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"markdownlint-cli": "^0.42.0",
"@types/node": "^22.10.5",
"builtin-modules": "^4.0.0",
"electron": "^33.3.1",
"husky": "^9.1.7",
"lint-staged": "^15.3.0",
"markdownlint-cli": "^0.43.0",
"obsidian": "^1.7.2",
"resolve-tspaths": "^0.8.22",
"sass-embedded": "^1.79.4",
"sass-migrator": "^2.2.0",
"stylelint": "^16.10.0",
"stylelint-config-standard-scss": "^13.1.0",
"typescript": "latest"
"resolve-tspaths": "^0.8.23",
"sass-embedded": "^1.83.1",
"stylelint": "^16.12.0",
"stylelint-config-standard-scss": "^14.0.0",
"typescript": "^5.7.2"
},
"description": "Typewriter scrolling, highlight of the current line, dimming of unfocused paragraphs and more",
"keywords": ["obsidian", "typewriter"],
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
"1.0.0": "0.15.0",
"1.1.0-beta.1": "0.15.0",
"1.1.0-beta.2": "0.15.0",
"1.1.0-beta.3": "0.15.0"
"1.1.0-beta.3": "0.15.0",
"1.1.0": "0.15.0"
}

0 comments on commit 8470979

Please sign in to comment.