From: Benct Philip Jonsson, Mon, December 01, 2008 5:37 am
> 
> Hi,
> 
> I'm relatively new to Linux (Ubuntu) and new to Cream,
> which I coose for it's combination of ease of use for
> a Windows convert (once forcibly converted from Mac
> Classic OS :-) and ample selection of syntax highlighting.
> 
> I have some questions though.
> 
> 1. How can I do regex search (and replace) without dropping
>    into vim mode? (assuming that I can! :-)

This is currently not possible. Ages ago there were some patches to
add options in Vim to make some additions to the dialog boxes (check
box) but this has never been incorporated into Vim. So "Ctrl+L :"
remains the only way.

> 2. Is there a list/manual of the differences between Perl
>    (or POSIX) and Vim regex syntax?

Not sure, Google probably points to a few, this has also been
discussed on the Vim list.

> 3. How can I make Mason syntax highlighting be automatically
>    choosen for files with an .html ending?

You can override Vim's defaults with a file modeline. You can also
force your own highlighting with customized autocmds in your
cream-user.

> 4. Due to the nature of my vision problems I live not only
>    by syntax highlighting but also by Text::Autoformat.pm,
>    implemented through a Perl script ~/bin/myautoformat. Is
>    there any way I can invoke that on a file open in Cream
>    from inside Cream?  Cream sometimes freezes when I try to
>    reload a file after reformatting it from the terminal.

Again, custom autocmds or modelines will both work. The first is
global but requires a little more understanding of Vim's filetype and
highlighting system. It sounds like you might want something like

    function! MyFunction(filetype)
      (do stuff depending on a:filetype)
    endfunction
    autocmd BufEnter * call MyFunction(&filetype) 

> 5. I also wrote scripts for converting all chars with
>    codepoints over 007e to HTML numeric entities and
>    codepoints over 00ff to perl \x{} notation that I have the
>    same problem with.

Tools > Add-ons > Highlight Multibyte  will highlight problem
characters. But editing the actual file does make changes to the file
itself, I'm sure you have worked through the implications.

> 6. Can I run html tidy on an open file from within Cream?

You'll need to write a little Vimscript. If you can figure out what to
type on the commandline, putting it in a menu item or keystroke is
simple.

> 7. Is there a color scheme where the prompt and 'status bar'
>    at the bottom of the window appears in a different color
>    (preferably nuances of red)?  Ideally one would like a web
>    page with screenshots of different color schemes.

Alt+S, R, C  will get you to the themes menu, you can pick through the
Cream ones. To adapt a Vim color scheme, just make sure you add all
the highlighting groups found in cream-colors-default.vim, tweaked to
your own preference.

-- 
Steve Hall  [ digitect dancingpaper com ]
:: Cream... usability for Vim
::   http://cream.sourceforge.net



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
cream-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cream-general

Reply via email to