[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Favourite editor
And Lo! The Great Prophet Chris Johnson uttered these words of wisdom:
>
> I'm developing php based web pages so syntax highlighting would be good
> but I'm open to other features which others have founds useful. I'd
> prefer x based as opposed to text based as I'm still getting to grips
> with vi and I'm really slow! Are there any editors that will highlight
> brackets/parenthesis etc so you can immediately see where the
> corresponding opening/closing character is (similar to the highlighting
> in M$ excel when editing formulae)??
vi in its normal mode can show brackets, although it doesn't do this
automatically. With your cursor over one of the brackets, pressing % in
command mode will take the cursor to the opposite bracket (so pressing %
twice gets you back to where you started).
I don't know which particular version of vi you have - it's liable to
either be vim or elvis. If its elvis, I can't help you any more, but vim is
my vi of choice, so you can read on ... :-)
There are scripts on vim.org that can end up doing this automatically, to
highlight, but I've not used them.
Also, it is possible to run vim in an 'easy' mode, though this will make a
lot of the power unavailable (although I've only just fired it up to try
it, so there may be a way round): start vim as 'vim -y', and it behaves as
a standard point-and-click editor.
And finally ... you might have vim with GUI on your machine; try gvim or
vim -g to get a vim with menus and mouse point and click etc... :-)
I can't advise on any other editors as I've not used them!
Chris...
--
\ Chris Johnson \ NP: NOIR OST 2 - 09 In peace
\ cej [at] nightwolf.org.uk \
\ http://cej.nightwolf.org.uk/ \
\ http://redclaw.org.uk/ ~---------------------------------------
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.