Skip to content

Commit

Permalink
chore: rename to NavigateCursorHistory
Browse files Browse the repository at this point in the history
  • Loading branch information
heycalmdown committed Mar 11, 2022
1 parent 81a575b commit 932fbb8
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 17 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Cursor Position
## Navigate Cursor History

This plugin remembers the recent 50 cursor positions history and allows you to jump to them back and forth like VSCode.

Expand All @@ -10,8 +10,8 @@ This plugin remembers the recent 50 cursor positions history and allows you to j

### Commands

- Cursor Position: Go back
- Cursor Position: Go forward
- Navigate Cursor History: Go back
- Navigate Cursor History: Go forward

You can set hotkeys for the commands. `^-` for the backward and `^=` for the forward.

Expand Down
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function logHistory(backward: History[], cur: History, forward: History[]) {
console.log(backward.map(historyToString), historyToString(cur), forward.map(historyToString))
}

export default class CursorPositionPlugin extends Plugin {
export default class NavigateCursorHistory extends Plugin {
backward: History[] = [];
forward: History[] = [];
cur: History;
Expand Down
10 changes: 5 additions & 5 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"id": "heycalmdown-cursor-position",
"name": "Cursor Position",
"version": "1.0.1",
"id": "heycalmdown-navigate-cursor-history",
"name": "Navigate Cursor History",
"version": "1.0.0",
"minAppVersion": "0.12.0",
"description": "This is a sample plugin for Obsidian. This plugin demonstrates some of the capabilities of the Obsidian API.",
"description": "This plugin remembers the recent 50 cursor positions history and allows you to jump to them back and forth like VSCode",
"author": "heycalmdown",
"authorUrl": "https://obsidian.md",
"authorUrl": "https://github.com/heycalmdown",
"isDesktopOnly": true
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-sample-plugin",
"version": "1.0.1",
"name": "navigate-cursor-history",
"version": "1.0.0",
"description": "This is a sample plugin for Obsidian (https://obsidian.md)",
"main": "main.js",
"scripts": {
Expand Down
4 changes: 0 additions & 4 deletions styles.css

This file was deleted.

3 changes: 1 addition & 2 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"1.0.0": "0.9.7",
"1.0.1": "0.12.0"
"1.0.0": "0.12.0"
}

0 comments on commit 932fbb8

Please sign in to comment.