On Apr 7, 8:13 pm, David Lam <[email protected]> wrote:
>
> hmm, well I use Vim for programming mainly, but personally I'd use it for
> anything involving text
>
> two more features you might find useful for plain ol' writing:
>
>      - spell checking   :h spell   (basically, :set spell, then z= to
> correct a word)
>      - insert mode word completion   :h i_ctrl-p        (type the start of a
> word, then ctrl+p to complete it)- Hide quoted text -
>

Some other things to be aware of:

1. Text objects. Things like "cap" (change a paragraph) and
"dis" (delete a sentence) would be amazing for writing prose. There
are also text objects for text inside quotes, text inside parentheses,
and more. See :help text-objects within Vim. These text objects work
with any of the Vim operators like 'd' delete, 'y' yank/copy, 'c'
change, and also in visual mode.

2. The Vim Tips wiki. While mostly geared toward programmers, there's
also a lot of stuff to learn. See 
http://vim.wikia.com/wiki/Category:Getting_started
for our "new user" tips.

3. If you're just writing prose, the txtfmt plugin may be useful. It
gives you the ability to apply styles like underline, background/
foreground color, italics, and bold to arbitrary text. You can get it
from http://www.vim.org/scripts/script.php?script_id=2208. It will be
especially useful if you combine it with the :TOhtml command that
comes with Vim. See :help :TOhtml. Using this command you can colorize
you text and then export it to HTML so you can view/print it in a web
browser.

-- 
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

Reply via email to