Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ieviev/obsidian-keyboard-shortcuts
Quick snippets and navigation for Obsidian
https://github.com/ieviev/obsidian-keyboard-shortcuts
obsidian-md obsidian-plugin
Last synced: 22 days ago
JSON representation
Quick snippets and navigation for Obsidian
- Host: GitHub
- URL: https://github.com/ieviev/obsidian-keyboard-shortcuts
- Owner: ieviev
- License: mit
- Created: 2022-08-03T20:00:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-04T16:52:25.000Z (over 1 year ago)
- Last Synced: 2024-10-03T09:53:16.799Z (5 months ago)
- Topics: obsidian-md, obsidian-plugin
- Language: F#
- Homepage:
- Size: 2.27 MB
- Stars: 24
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quick snippets and navigation for Obsidian
- Keyboard navigation up/down for headings
- Configurable default code block and callout shortcuts
- Copy code block via keyboard shortcut
- Quick Switcher extensionsno keybinds are set on install, you have to configure them yourself
## List of commands:
- Go to previous heading
- Go to next heading
- Select current heading block
- Go to previous empty line
- Go to next empty line
- Copy Next Code Block
- Copy Code Block
- Search by Tag
- Insert heading 4
- Insert heading 5
- Increase Heading level
- Decrease Heading level
- Insert Default Callout
- Insert Code Block
- Open Switcher with Tag 1### Go to previous/next heading and Go to previous/next empty line
- note: only works in edit mode

### Select current heading block
- Select current heading block: selects text until the next heading or end of document

### Copy code block / Copy next code block
- Copy code block: shows a list of code blocks and allows you to search and copy one of them
- Copy next code block: copies the next code block, closest to the cursor
### Switcher extensions
> NOTE: these require you to configure `Default modal command` in the plugin settings:
> For the following demos i used the [Another Quick Switcher plugin](https://github.com/tadashi-aikawa/obsidian-another-quick-switcher) which supports tags and set `Default modal command` to:
```
obsidian-another-quick-switcher:search-command_recent-search
```#### Switcher extensions / Search by tag
Allows performing a 2-step search, first filtering notes by tag.

#### Switcher extensions / Folded search by Tag
Tag search with:
- Unfolding tags
- AND queries
#### Switcher extensions / Open switcher with Tag 1
Opens the switcher with the first tag in the file already added to the query.

> NOTE 2: if you want to find the command id for another switcher command press ctrl+shift+i to open the developer console and run this line.
```
app.commands.listCommands().map(x => x.id);
```
### Insert heading 4/5 / Insert code block / Insert callout
- also moves the cursor inside the code block / to the title after using
- the default language of the code block is configurable in settings
- the default callout type is also configurable in settings
## development
### dependencies
- dotnet 6.0 sdk
- npm### ---
installing node and dotnet dependencies
```
npm i
npm run install
```compiling F# to js
```
npm run build
```publishing to dist/
```
npm run publish
```