On Apr 5, 9:21 am, Benct Philip Jonsson <b...@melroch.se> wrote:
> On 2009-04-04 Paris wrote:
> > I tried editing with vim and then opening with open
> > office writer coloring, italizing, bolding and saving to
> > .doc. But it is painful! To much mouse work... select the
> > text go press the stupid B or I button or go press font
> > color and then red or green. Painful. I want to use my
> > keybord and only my keyboard.
>
> What you want is Ctrl-B and Ctrl-I inside Open Office
> Writer, not a text editor.

I created Txtfmt precisely because I occasionally like the convenience
of WYSIWYG highlighting, but like to use Vim for all text editing. The
*current* version of Txtfmt supports customizable foreground colors,
in addition to bold, underline, italic, standout, reverse and
undercurl. Version 2.0 (coming soon) will support background colors as
well. With Txtfmt's customizable mappings (:help txtfmt-user-maps), it
is even possible to map things like Ctrl-B and Ctrl-I to do something
more complicated than simply begin a formatting region: e.g., you
could make these mappings embolden and center the current line or
italicize and redden the preceding word. Thus, for the simple type of
highlighting I would want in my text documents, there's really no
motivation to use anything other than Vim. Of course, if you're
formatting a textbook or something with lots of mathematical equations
or whatever, you probably want the power of something like Latex, but
for the types of documents many programmers keep, colors and
formatting attributes are often sufficient, and the WYSIWYG nature of
Txtfmt makes it (in my opinion) more convenient for this purpose than
something like Latex. Although I didn't look at Pandoc in detail, it
sounds as though you're talking about creating something in one editor
to be viewed in another. The point of Txtfmt is to permit you to view
the end result as you're typing it.

Brett Stahlman

>
> If you find the whole business of writing in a WYSIWYG
> word processor painful check out Pandoc.
>
> <http://johnmacfarlane.net/pandoc/>
>
> It can output rtf and odt format, which can be opened by
> Open Office Writer.  Then of course you can use vim to
> produce markdown files, used as input to Pandoc.
> I do it all the time!
>
> /BP
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to