o/

On Sun, Feb 01, 2015 at 10:59:38AM -0700, Brennen Bearnes wrote:
> I use vim for most of what I don't write inside a browser, which
> includes a lot of poetry and prose.

    you should try to use vimperator/pentadactyl (won't go in  the fight
between the two here, enough trolls happening lately).

    In both you can either have vi-like edition  in  a  text  area using
<C-t> or launch a vim instance using <C-i>. Since I've  discovered that,
my life has been greater in  all  the  site  I  commonly  use,  from the
markdown-based textarea of stackoverflow or github to the rich text ones
that offer an html source input.

[...]
> ...where the stuff inside <freeverse> gets translated to regular HTML
> with linebreaks in the right places.  It's a small thing, but it's a
> lot easier to stay in the flow of writing without having to worry
> about markup boilerplate.  For print output in the past I've switched
> this up to generate LaTeX directly, but I think next time I produce
> something in book form I'll see what I can get done with Pandoc.

    You should definitely try out pandoc, along with the  vim-pandoc and
vim-pandoc-syntax  extensions.  They're  life  changers.  I   now  write
everything in Markdown, and I wrote a few templates for  different Latex
targets (letter, article, report, longer document) as well as a few html
targets (though it's still work in progress).

    Then I just set up the Yaml header with the important information to
fill in the template, and then :Pandoc and  it's  translating  to latex,
compiling it and outputting the pdf, or translating to html, or  even to
docx, whenever (sadly) needed!

    And with that you get  folding  for  free,  colourisation  that even
colorise the code correctly in code parts,  a  table  of  contents using
`:TOC` and so many other great little things...

    To that, I can add that I'm using  vim-wiki,  to  browse  through my
markdown files, so I can have some org-mode like UI, that  also contains
all my very often visited files one  gf  away,  but  also  browse  to my
markdown blog articles, or the different pandoc ready files.  Sadly, the
two are not fitting perfectly together,  but  I  might  help  to  get it
better sooner or later.

\_o<

-- 
Guyzmo

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to