Friday, August 25, 2017

Sorry to use the `e' word but does vim have similar to cperl

Any one here familiar with emacs cperl mode, that can tell me how to
get something similar when using vim?

If not familiar, `cperl-mode' trys to offer a host of short cuts that insert
quite a bit of standard code for you... a simple example is; if you
type `if<spc>' `cperl-mode' inserts:

if (_) {
}

With the underscore indicating where the cursor is left.

I vaguely remember using something with vim, years ago, that did
something similar, but no longer remember how to load that sort of
thing.

With my current vim setup (just the basic install on debian using
`aptitude install vim'), plus a .vimrc carted around from OS to OS for
years.

If opening a perl script, I get syntax highlighting but when coding I
get no help... no tricky inserts or the like.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment