Skip to content

Commit

Permalink
feat: add delete note shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinslin committed Jul 6, 2020
1 parent 0c844fa commit 8b5a58b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 20 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ While we call it the `Lookup Bar`, `Lookup` is actually a misnomer because you c

Use `CTRl-P` to bring up the lookup bar. Type `dendron.lookup.hello` and hit `Enter`.

TODO: picture
![Create Note](assets/dendron-open-create.gif)

Even though the note didn't exist, Dendron created it through the act of you looking it up.

Expand All @@ -37,8 +37,8 @@ To delete a note, you can use the `CTRL-SHIFT-D` shortcut on the note that you w

To delete [[dendron.lookup.hello]], open the note and then use `CTRL-SHIFT-D` to delete.

![Delete Note](assets/dendron-delete.gif)


## Other Capabilities
Now that you've seen some of the things you can lookup, its time to go through the other capabilities you have with Dendron. Continue the tutorial by clicking [[dendron.capabilities]] or typing `dendron.capabilities` inside the lookup.

TODO: picture
6 changes: 5 additions & 1 deletion packages/plugin-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@
"keybindings": [
{
"command": "dendron.lookup",
"mac": "ctrl+p"
"key": "ctrl+p"
},
{
"command": "dendron.deleteNode",
"key": "ctrl+shift+d"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-core/src/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export class DendronWorkspace {
}
const engine = DendronEngine.getOrCreateEngine({root: mainVault});
await engine.init()
// this._engine = engine;
this._engine = engine;
// refresh schemas
// await new SchemaCommand().hack(engine);
/*
Expand Down

0 comments on commit 8b5a58b

Please sign in to comment.