mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-16 19:18:32 +02:00
Add hint for how to get vi to go to end-of-file
This commit is contained in:
parent
33607acbb6
commit
8955acfce9
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.
|
||||
|
||||
|
||||
## 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