Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: There's a level in Hell reserved for ________by zengargoyle (Deacon) |
on Mar 02, 2003 at 20:57 UTC ( [id://239895]=note: print w/replies, xml ) | Need Help?? |
actually, i went looking last night, vim is definately scriptable to your hearts content. i found the totally-rockin 'taglist.vim' which provides sweet navigation through your files. i also saw scripts that changed the behavior of TAB depending on whether it was the first key pressed on a new line (indent), otherwise (word-complete), shift-TAB being (word-complete-backwards). the scripts look something like:
the deal with the syntax-highlighting is that if it knows what color to make something as soon as i type it (and knows when to change the color back to normal) then it has the brains to do further modifications like putting 'sub X {}' when you type sub (with cursor left on X), hit right-arrow or space and 'X' dissapears and cursor goes inside '{}' for anonymous sub, or type a subname and 'space' will take you to inside '{}'. i believe having highlighting (the way vim seems to do it) implies being able to smart-complete. i hope cperl-mode is smart enough that if that were:
and now that i actually know vim has auto-complete (Ctrl-N and Ctrl-P in insert mode) i might be able to break myself of my love for short variable names... i suggest anybody who uses vim go check out the Tips section on http://www.vim.org. there's even...
but i think we've gone way OT.
In Section
Meditations
|
|