DevTools

Cheatsheet Obsidian

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

Voltar às linguagens
Obsidian
25 cards encontrados
Categorias:
Versões:

Básico


4 cards
Notas
Ctrl + N      (nova nota)
Ctrl + Shift + N (nova nota em popup)
Ctrl + O      (abrir nota rápida)
Ctrl + W      (fechar aba atual)
Ctrl + P      (paleta de comandos)

Criar e abrir notas.

Ficheiros e pastas
Ctrl + Shift + F (nova pasta)
Ctrl + Shift + E (explorador de ficheiros)
F2            (renomear nota)
Ctrl + Shift + D (mover para pasta)

Organizar vault.

Guardar e exportar
Ctrl + S      (guardar - automático)
Ctrl + Shift + P → "Export to PDF"
Ctrl + Shift + P → "Print"

# Notas guardam automaticamente

Exportar conteúdo.

Vistas
Ctrl + E      (alternar edit/preview)
Ctrl + Shift + E (modo leitura)
Ctrl + Shift + I (abrir DevTools)
Ctrl + ,      (definições)

Alternar modos de vista.

Edição


4 cards
Formatação rápida
Ctrl + B      (negrito)
Ctrl + I      (itálico)
Ctrl + K      (inserir link)
Ctrl + Shift + V (colar como texto simples)
Ctrl + D      (apagar parágrafo)

Formatar texto.

Linhas e parágrafos
Alt + ↑/↓    (mover linha cima/baixo)
Ctrl + Shift + K (apagar linha)
Ctrl + Enter  (toggle checkbox)
Ctrl + Shift + Enter (nova linha acima)

Manipular linhas.

Multi-cursor
Ctrl + D      (selecionar próxima ocorrência)
Ctrl + Shift + L (selecionar todas ocorrências)
Alt + Clique  (adicionar cursor)
Ctrl + Alt + ↑/↓ (cursor acima/abaixo)

Editar em múltiplos locais.

Listas e indentação
Tab          (indentar lista)
Shift + Tab   (desindentar)
Ctrl + Shift + 7 (lista numerada)
Ctrl + Shift + 8 (lista com bullets)
Ctrl + Shift + 9 (checkbox)

Gerir listas.

Navegação


4 cards
Entre notas
Ctrl + O      (quick switcher)
Ctrl + Alt + ← (nota anterior)
Ctrl + Alt + → (nota seguinte)
Ctrl + Clique  (abrir link em nova aba)
Ctrl + Shift + T (reabrir aba fechada)

Navegar pelo vault.

Painéis divididos
Ctrl + Shift + \ (dividir vertical)
Ctrl + Shift + - (dividir horizontal)
Ctrl + Tab    (alternar painel)
Ctrl + Shift + Tab (painel anterior)

Trabalhar lado a lado.

Headings e outline
Ctrl + Shift + O (outline da nota)
Ctrl + Shift + P → "Toggle heading"
Ctrl + 1/2/3  (heading nível 1/2/3)

# Outline mostra estrutura da nota

Navegar por secções.

Backlinks e graph
Ctrl + Shift + B (backlinks panel)
Ctrl + G      (graph view global)
Ctrl + Shift + G (graph local da nota)

# Ver conexões entre notas

Explorar relações.

Pesquisa e Links


4 cards
Pesquisa global
Ctrl + Shift + F (pesquisa em todas notas)

# Operadores:
file:nome    # por nome de ficheiro
path:pasta   # por caminho
tag:#tag     # por tag
line:(termo)  # na mesma linha

Pesquisar no vault inteiro.

Links internos
[[Nome da Nota]]  # link wiki
[[Nota#Heading]]  # link para secção
[[Nota|Texto]]    # alias
![[Nota]]        # embed/transclusão

Conectar notas.

Tags e metadata
#tag          # tag inline

---
tags: [projeto, ideia]
status: ativo
data: 2025-01-15
---

# YAML frontmatter

Organizar com metadata.

Pesquisa avançada
"texto exato"  # frase exata
/regex/       # expressão regular
file:.md -path:templates
tag:#dev -tag:#pessoal
[propriedade:valor]

Filtros de pesquisa.

Markdown


4 cards
Formatação
# H1  ## H2  ### H3
**negrito**  *itálico*
~~riscado~~  ==destaque==
`código`     ```bloco```
> citação

Sintaxe Markdown.

Listas e tarefas
- item       # bullet
1. item      # numerada
- [ ] tarefa  # checkbox
- [x] feita   # concluída
  - sub-item  # indentar

Listas e TODOs.

Código (programadores)
```python
def hello():
  print("Olá")
```

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

# Syntax highlighting automático

Blocos de código com linguagem.

Tabelas e extras
| Col1 | Col2 |
|------|------|
| A    | B    |

[Link](https://url.com)
![Imagem](path/img.png)
---  # linha horizontal
%%comentário%%

Tabelas, links e comentários.

Avançado


5 cards
Paleta de comandos
Ctrl + P      (abrir paleta)

# Comandos úteis:
"Toggle pin"
"Convert to heading"
"Insert template"
"Open today's daily note"

Acesso rápido a tudo.

Dataview (queries)
```dataview
TABLE status, data
FROM #projeto
WHERE status = "ativo"
SORT data DESC
```

# Consultar notas como BD

Queries dinâmicas às notas.

Templates
Ctrl + P → "Insert template"

# Variáveis:
{{title}}    # nome da nota
{{date}}     # data atual
{{time}}     # hora atual
{{yesterday}} # data anterior

Automatizar notas repetitivas.

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

# Formato: YYYY-MM-DD.md
# Template automático
# Link automático para dia anterior

# Plugin core: Daily Notes

Notas diárias automáticas.

Plugins essenciais (dev)
# Community plugins:
Git          # sync com repositório
Dataview     # queries às notas
Excalidraw   # diagramas
Kanban       # boards de tarefas
Admonition   # callouts/blocos

Extensões para programadores.