fiatjaf / neuron.vim

📝 Manage your Zettelkasten in {n}vim.
MIT License
83 stars 21 forks source link

Error when creating a new tag #38

Closed MartinPotier closed 3 years ago

MartinPotier commented 3 years ago

Vim shortcuts for neuron

- `gzn`
- type name of new tag
- observe:
![image](https://user-images.githubusercontent.com/33028900/97879603-d981ec80-1d28-11eb-850d-b86589f4d941.png)
- observe broken tag line:

date: 2020-10-31T01:47 tags:

here's the ẁhole file:

---
date: 2020-10-31T01:47
tags:
  - vim
  - pinned
---

# Vim shortcuts for neuron

| **Shortcut** | **Command**                                          |
| ------------ | ---------------------------------------------------- |
| `gzn`        | Edit new Zettel                                      |
| `gzN`        | Edit new Zettel from current word                    |
| `gzN`        | Edit new Zettel from selected (visual)               |
| `gzr`        | Refresh cache                                        |
| `gzu`        | Edit last zettel                                     |
| `gzU`        | `:<C-U>call neuron#move_history(-1)<cr>`             |
| `gzP`        | `:<C-U>call neuron#move_history(1)<cr>`              |
| `gzz`        | Select a Zettel to edit                              |
| `gzZ`        | `<Plug>EditZettelBacklink`                           |
| `gzo`        | Open Zettel under cursor                             |
| `gzs`        | `<Plug>EditZettelSearchContent`                      |
| `gzS`        | `<Plug>EditZettelSearchContentUnderCursor`           |
| `gzl`        | `<Plug>InsertZettelLast`                             |
| `gzi`        | `<Plug>InsertZettelSelect`                           |
| `gzL`        | `:<C-U>call neuron#insert_zettel_last(1)<cr>`        |
| `gzI`        | `:<C-U>call neuron#insert_zettel_select(1)<cr>`      |
| `gzv`        | `<Plug>ToggleBacklinks`                              |
| `gzt`        | Add new Tag                                          |
| `gzT`        | Add new Tag by selecting an existing one             |
| `gzts`       | Search through Tags                                  |
fiatjaf commented 3 years ago

Duplicated of https://github.com/fiatjaf/neuron.vim/issues/39

MartinPotier commented 3 years ago

Oopsie, sorry. Didn't even realize it created too :(