Saturday, May 28, 2016

Re: sample .vimrc for text use -> :opt + #vim channel

* John Culleton <John@wexfordpress.com> [2016-05-28 17:53]:
> I set up my .vimrc many years ago. recently my computer died and
> my .vimrc went with it. I use vim for creating text documents.
> It would save me many hours of cut and try if someone could
> recommend or send me a .vimrc or .gvimrc set up for left
> justified text with paragraphs separated by a blank line.

well - paragraphs are *defined* as block of
non-empty lines separated by the *empty* lines
around them. no need for any setup here.

> I also had an F key function that would
> rejustify all the paragraphs of the document
> where I had added or deleted text.
> Does that ring a bell with anyone?

this one rejustifies the current paragraph:

map <f1> gqip

this one rejustifies all text:

map <f2> 1GVGgq

> Thus far all I have is the line:
> set textwidth = 72
> and that took some hours of research in my
> copy in the Oualine book (2001 version.)

well, book dont rearrange themselves
to what you are sarching for. ;)

how about this one:
http://www.guckes.net/Setup/vimrc.minimal

explanation:
http://www.guckes.net/vim/setup.html

take a look at ":set" for what is really changed.
and then there is this great command ":options"
which creates a HUGE setup file with everything. :)

back up your setup. put it online.
you might find a backup in google.. ;)
https://www.google.de/search?q=sven.guckes+vimrc
whee - 2100 hits \o/ however, on page #11 is says:
"In order to show you the most relevant results,
we have omitted some entries very similar
to the 102 already displayed" - ah, well..

you might also want to ask interactively
on IRC on channel #vim. there are usually
over 1000 clients/nicks connected to that channel.

here is how: http://webchat.freenode.net/
choose a nickname, choose "#vim" as the channel,
you might want to "auth" to services,
and check that "i'm not a robot" box -
and then you (click on) "connect".

as the channel topic says:
"Don't ask to ask!
| Use :help and :helpgrep
| WIKI: http://vim.wikia.com
| PASTE: http://vpaste.net/?ft=vim

good luck in recreating your setup file! :)

Sven

--
http://www.guckes.net/Setup/vimrc
http://www.guckes.net/Setup/vimrc.forall
http://www.guckes.net/Setup/vimrc.mine
.
"Vi IMproved -- Vim"
http://vim.sourceforge.net/docs.php
by Steve Oualline vim-book(at)mail.oualline.com
ISBN: 0735710015 (New Riders, April 2001)
http://www.newriders.com/books/opl/ebooks/0735710015.html
http://www.truth.sk/vim/vimbook-OPL.pdf

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: