Friday, December 9, 2011

Re: How can I keep vim from keeping context

Excerpts from Bruce's message of Fri Dec 09 17:14:23 +0100 2011:
> I *HATE* colors because I cannot read blue on black or yellow on
> white.
> Those colors are all too common.
Should't you ask a different question: How do I configure Vim to use
colors I can read?
Otherwise just use :syn off? Talking about :messages (red echoe
lines?).. Don't know about this.

> I *HATE* finding myself in the middle of a file because several months
> ago I edited the same file and that is where I left off.
So what ? do gg and continue?
Don't you have to add some additional lines to force this behaviour?
retry with clean vim:

vimClean () {
vim -u NONE -U NONE -N "$@"
}

and that behaviour should be gone.

> Yesterday, I googled the answer to shutting down VIM's memory:
> set viminfo='0,:0,<0,@0,f0,/0'
Tony replied to this, didn't he?

> 1. Clear error messages are crucial
use silent! to make command not emit any errors.
Usually you want error messages because they are helpful.

> 2. How do I tell VIM that I want it to be a stupid (non-fancy) text
> editor?
Defining "being stupid" is as hard as defining "being smart".

Learn some more VimL and your problems should be solved ?

Marc Weber

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

No comments: