[plug] Src Code Editor for moving by function

James Devenish devenish at guild.uwa.edu.au
Tue Aug 3 20:36:45 WST 2004


In message <411026FC.8090106 at tigris.org>
on Tue, Aug 03, 2004 at 07:59:56PM -0400, Tim White wrote:
> I have used editors before that allow you to collapse and expand
> functions

In vim, this is known as "folding". Perhaps it is not as elegant as the
equivalent in some other programmes, but it works and I think it does
what you will want (i.e. let you easily move your functions around in
your code by 'grabbing' the functions on screen as collapsed lines).

> I also like Kate's way of italiking comments. Is there a way to do this 
> in Gvim?

Yes, this is known as "highlighting" in vim. There will be a
highlighting option for comments, and you will need to set it to use an
italic font or whatnot. I don't know the specifics of achieving that,
and it is possible that 'italic' will be mapped to 'underline' (which
isn't what you want). To examine the current highlighting, enter this
in vim:

:hi<CR>

(<CR> is vim's notation for the enter/return key.)





More information about the plug mailing list