DevTools

Cheatsheet Obsidian

Aplicação de notas e gestão de conhecimento para programadores

Back to languages
Obsidian
25 cards found
Categories:
Versions:

Basic


4 cards
Notes
Ctrl + N      (new note)
Ctrl + Shift + N (new note in popup)
Ctrl + O      (quick open note)
Ctrl + W      (close current tab)
Ctrl + P      (command palette)

Create and open notes.

Files and Folders
Ctrl + Shift + F (new folder)
Ctrl + Shift + E (file explorer)
F2            (rename note)
Ctrl + Shift + D (move to folder)

Organize the vault.

Save and Export
Ctrl + S      (save - automatic)
Ctrl + Shift + P → "Export to PDF"
Ctrl + Shift + P → "Print"

# Notes save automatically

Export content.

Views
Ctrl + E      (toggle edit/preview)
Ctrl + Shift + E (reading mode)
Ctrl + Shift + I (open DevTools)
Ctrl + ,      (settings)

Switch view modes.

Edition


4 cards
Quick Formatting
Ctrl + B      (bold)
Ctrl + I      (italic)
Ctrl + K      (insert link)
Ctrl + Shift + V (paste the plain text)
Ctrl + D      (delete paragraph)

Format text.

Lines and Paragraphs
Alt + ↑/↓    (move line up/down)
Ctrl + Shift + K (delete line)
Ctrl + Enter  (toggle checkbox)
Ctrl + Shift + Enter (new line above)

Manipulate lines.

Multi-cursor
Ctrl + D      (select next occurrence)
Ctrl + Shift + L (select all occurrences)
Alt + Click   (add cursor)
Ctrl + Alt + ↑/↓ (cursor above/below)

Edit in multiple places.

Lists and Indentation
Tab          (indent list)
Shift + Tab   (unindent)
Ctrl + Shift + 7 (numbered list)
Ctrl + Shift + 8 (bullet list)
Ctrl + Shift + 9 (checkbox)

Manage lists.

Navigation


4 cards
Between Notes
Ctrl + O      (quick switcher)
Ctrl + Alt + ← (previous note)
Ctrl + Alt + → (next note)
Ctrl + Click   (open link in new tab)
Ctrl + Shift + T (reopen closed tab)

Navigate the vault.

Split Panes
Ctrl + Shift + \ (split vertical)
Ctrl + Shift + - (split horizontal)
Ctrl + Tab    (switch pane)
Ctrl + Shift + Tab (previous pane)

Work side by side.

Headings and Outline
Ctrl + Shift + O (note outline)
Ctrl + Shift + P → "Toggle heading"
Ctrl + 1/2/3  (heading level 1/2/3)

# Outline shows the note structure

Navigate sections.

Backlinks and Graph
Ctrl + Shift + B (backlinks panel)
Ctrl + G      (global graph view)
Ctrl + Shift + G (local graph of the note)

# See connections between notes

Explore relationships.

Search and Links


4 cards
Global Search
Ctrl + Shift + F (search in all notes)

# Operators:
file:name    # by file name
path:folder  # by path
tag:#tag     # by tag
line:(term)  # on the same line

Search the whole vault.

Internal Links
[[Note Name]]    # wiki link
[[Note#Heading]]  # link to a section
[[Note|Text]]     # alias
![[Note]]        # embed/transclusion

Connect notes.

Tags and Metadata
#tag          # inline tag

---
tags: [project, idea]
status: active
date: 2025-01-15
---

# YAML frontmatter

Organize with metadata.

Advanced Search
"exact text"  # exact phrase
/regex/       # regular expression
file:.md -path:templates
tag:#dev -tag:#personal
[property:value]

Search filters.

Markdown


4 cards
Formatting
# H1  ## H2  ### H3
**bold**  *italic*
~~strikethrough~~  ==highlight==
`code`     ```block```
> quote

Markdown syntax.

Lists and Tasks
- item       # bullet
1. item      # numbered
- [ ] task    # checkbox
- [x] done    # completed
  - sub-item  # indent

Lists and TODOs.

Code (developers)
```python
def hello():
  print("Hello")
```

```bash
ls -la && git status
```

# Automatic syntax highlighting

Code blocks with a language.

Tables and Extras
| Col1 | Col2 |
|------|------|
| A    | B    |

[Link](https://url.com)
![Image](path/img.png)
---  # horizontal rule
%%comment%%

Tables, links and comments.

Advanced


5 cards
Command Palette
Ctrl + P      (open palette)

# Useful commands:
"Toggle pin"
"Convert to heading"
"Insert template"
"Open today's daily note"

Quick access to everything.

Dataview (queries)
```dataview
TABLE status, date
FROM #project
WHERE status = "active"
SORT date DESC
```

# Query notes like a DB

Dynamic queries on notes.

Templates
Ctrl + P → "Insert template"

# Variables:
{{title}}    # note name
{{date}}     # current date
{{time}}     # current time
{{yesterday}} # previous date

Automate repetitive notes.

Daily Notes
Ctrl + P → "Open today's daily note"

# Format: YYYY-MM-DD.md
# Automatic template
# Automatic link to the previous day

# Core plugin: Daily Notes

Automatic daily notes.

Essential Plugins (dev)
# Community plugins:
Git          # sync with a repository
Dataview     # queries on notes
Excalidraw   # diagrams
Kanban       # task boards
Admonition   # callouts/blocks

Extensions for developers.