mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
Add hint for how to get vi to go to end-of-file (#1563)
This commit is contained in:
parent
75008dcb1a
commit
b2f53d48f7
1 changed files with 9 additions and 0 deletions
|
@ -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.
|
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('.')))"
|
||||||
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue