modeline open file at end

14 views
Skip to first unread message

Bee

unread,
Aug 16, 2017, 10:54:44 AM8/16/17
to vim_use
Can the modeline be used to always go to the end of a file when opened?

Ben Fritz

unread,
Aug 16, 2017, 11:35:35 AM8/16/17
to vim_use
On Wednesday, August 16, 2017 at 9:54:44 AM UTC-5, Bee wrote:
> Can the modeline be used to always go to the end of a file when opened?

Nope. Modelines only support setting options and there is no "cursor position" option.

You could use autocmds however.

Reply all
Reply to author
Forward
0 new messages