Skip to content

Commit

Permalink
feat: add new hotkeys and make minor tweaks to settings (#4)
Browse files Browse the repository at this point in the history
Makes a few changes to the hotkeys and a few other settings + updates docs accordingly

- Enable prompt on delete so people have to specifically opt out of deleting notes without asking
- Disables workspaces
- Update some hotkeys and adjust docs
- Update start page with callout example
  • Loading branch information
andrewmcodes authored Apr 9, 2022
1 parent d3b5659 commit 61a60d4
Show file tree
Hide file tree
Showing 7 changed files with 88 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .obsidian/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"foldHeading": true,
"foldIndent": true,
"tabSize": 2,
"promptDelete": false,
"promptDelete": true,
"alwaysUpdateLinks": true,
"showUnsupportedFiles": true,
"attachmentFolderPath": "_assets/attachments"
Expand Down
1 change: 0 additions & 1 deletion .obsidian/core-plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@
"word-count",
"audio-recorder",
"open-with-default-app",
"workspaces",
"file-recovery"
]
68 changes: 65 additions & 3 deletions .obsidian/hotkeys.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@
"editor:delete-paragraph": [
{
"modifiers": [
"Mod",
"Shift"
"Alt"
],
"key": "D"
"key": "Backspace"
}
],
"workspace:edit-file-title": [
Expand Down Expand Up @@ -77,5 +76,68 @@
],
"key": "ArrowUp"
}
],
"editor:insert-wikilink": [
{
"modifiers": [
"Mod"
],
"key": "K"
}
],
"editor:insert-link": [
{
"modifiers": [
"Alt",
"Mod"
],
"key": "K"
}
],
"switcher:open": [
{
"modifiers": [
"Mod"
],
"key": "P"
}
],
"open-with-default-app:open": [
{
"modifiers": [
"Alt",
"Mod"
],
"key": "D"
}
],
"open-with-default-app:show": [
{
"modifiers": [
"Alt",
"Mod"
],
"key": "R"
}
],
"editor:unfold-all": [],
"workspace:toggle-pin": [],
"app:toggle-left-sidebar": [
{
"modifiers": [
"Mod",
"Shift"
],
"key": "E"
}
],
"editor:toggle-fold": [],
"insert-template": [
{
"modifiers": [
"Mod"
],
"key": ";"
}
]
}
11 changes: 6 additions & 5 deletions .obsidian/workspace
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "split",
"children": [
{
"id": "fcf29a2103662d42",
"id": "d8878c909ec98bf7",
"type": "leaf",
"state": {
"type": "markdown",
Expand Down Expand Up @@ -128,14 +128,15 @@
"width": 300,
"collapsed": true
},
"active": "fcf29a2103662d42",
"active": "d8878c909ec98bf7",
"lastOpenFiles": [
"_START HERE.md",
"daily/2022-01-13.md",
"README.md",
"CHANGELOG.md",
"START HERE.md",
"LICENSE.md",
"_assets/templates/t_daily.md"
"_assets/templates/t_daily.md",
"daily/2022-04-09.md",
"daily/2022-01-13.md",
"START HERE.md"
]
}
1 change: 1 addition & 0 deletions .obsidian/workspaces.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ These are the settings that have been modified from the defaults.

| Setting | Value |
| ------------------------------------ | ----------------------------- |
| Confirm file deletion | Disabled |
| Confirm file deletion | Enabled (Asks first time) |
| Automatically update internal links | Enabled |
| Detect all file extensions | Enabled |
| Default location for new attachments | In the folder specified below |
Expand All @@ -57,16 +57,22 @@ I have modified some of the important hotkeys to better match VS Code's defaults

| Description | Shortcut |
| ------------------------------------- | ----------- |
| Add internal link | ⌘K |
| Command palette: Open command palette | ⌘⇧P |
| Delete current file | ⌘⇧Backspace |
| Delete paragraph | ⌘⇧D |
| Delete paragraph | ⌥Backspace |
| Edit file title | ⌘⌥T |
| Focus on editor | ⌘1 |
| Quick switcher: Open quick switcher | ⌘P |
| Split horizontally |\ |
| Split vertically | ⌘⇧\ |
| Swap line down | ⇧⌥↓ |
| Swap line up | ⇧⌥↑ |
| Add Markdown link | ⌘⌥K |
| Open in default app | ⌘⌥D |
| Show in system explorer | ⌘⌥R |
| Toggle Left Sidebar | ⌘⇧E |
| | |

### Core plugins

Expand All @@ -81,7 +87,6 @@ I have modified some of the important hotkeys to better match VS Code's defaults
| [Markdown format importer](https://help.obsidian.md/Plugins/Markdown+format+converter) | Disabled |
| [Outline](https://help.obsidian.md/Plugins/Outline) | Enabled |
| [Audio recorder](https://help.obsidian.md/Plugins/Audio+recorder) | Enabled |
| [Workspaces](https://help.obsidian.md/Plugins/Workspaces) | Enabled |

### Community Plugins

Expand Down
15 changes: 7 additions & 8 deletions _START HERE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@

Welcome to your Obsidian vault.

## Important Commands

- New note: `⌘N`
- Open command palette: `⌘⇧P`
- Open quick switcher: `⌘P`
- Open settings: `⌘,`
- Open Wikilink: `⌘+Click` [[README]] to navigate to that note with the mouse
- Delete a note: `⌘⇧Backspace`
> [!IMPORTANT] Key Commands
> - New note: `⌘N`
> - Open command palette: `⌘⇧P`
> - Open quick switcher: `⌘P`
> - Open settings: `⌘,`
> - Open Wikilink: `⌘+Click` [[README]] to navigate to that note with the mouse
> - Delete a note: `⌘⇧Backspace`
Go to `Settings->Hotkeys` to see all hotkeys and add your own.

Expand Down

0 comments on commit 61a60d4

Please sign in to comment.