Skip to content

Instantly share code, notes, and snippets.

@yanick
Created April 9, 2014 14:11
Show Gist options
  • Select an option

  • Save yanick/10275104 to your computer and use it in GitHub Desktop.

Select an option

Save yanick/10275104 to your computer and use it in GitHub Desktop.
Vim::X script coming with its own vim config
""; <<finish;
map ,dl :call DualLived()<CR>
finish
use Vim::X;
sub DualLived :Vim {
vim_msg "hello there";
}
__END__
Yup, that's right. The next version of Vim::X will allow to write scripts that
auto-source the vim part and lazy-autocmd the Perl part. *insane cackles*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment