Add hint for how to get vi to go to end-of-file

This commit is contained in:
Paul Jimenez 2022-08-17 11:38:52 -04:00
parent 33607acbb6
commit 8955acfce9

View file

@ -211,3 +211,12 @@ display_format: markdown
For more information on how `jrnl` outputs your entries in Markdown, please visit the [Formats](./formats.md) section.
## Jump to end of buffer (with vi)
To cause vi to jump to the end of the last line of the entry you edit, in your config file set:
```yaml
editor: vi + -c "call cursor('.',strwidth(getline('.')))"
```