-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Description
I'm attempting to use a default template for new Perl files with this command:
autocmd BufNewFile *.pl 0r ~/.vim/perl/base_template.pl
I would like Vim to start the cursor on Line 11 of the template which is done like this:
autocmd BufNewFile *.pl 0r ~/.vim/perl/base_template.pl | 11
With vim-lastplace enabled when I create a new .pl
file it loads the template but always puts the cursor on line 0. If I disable vim-lastplace then it starts on line 11.
Metadata
Metadata
Assignees
Labels
No labels