Thursday, March 1, 2012

Re: Which runtime files for console vim?

On 29/02/12 18:55, howard Schwartz wrote:
> Hi,
>
> I successfully installed gvim on a redhat installation, which must run
> in console mode only. It does this fine, and has perhaps double the
> features enabled as the tiny or expanded console vim.
>
> My problem now is how to select the runtime directories and files for
> gvim, running as console vim? With usual ones, I get various error
> messages related to no graphics. If I used the tiny or expanded runtime
> files, I fear they would not contain some useful features (e.g., search,
> cmd, dictionary completion).
>
> Specifically, I have tried to impliment the dictionary and thesaurus
> functions, but they do not seem to work. I have the files, and have set
> the dictionary and thesaurus variables to the correct directories.
>
> However, i only get results when I tried to complete a word, for
> instance `have', within a dictionary file itself. In any other file, I
> get ``pattern not found'' for the same word. And I can not use i_CTRL-X
> i_CTRL-K to generate any popup menu with a list of words. Do these
> popups require graphics in linux? They seem to work OK on in my dos box
> under windows.
>
> Any help appreciated.
>
>
>

Keep all runtime files (like others said).

If your system runs in console mode only, then there probably is no X
server. Vim would then start faster with the -X command-line switch.

See :help -X

See also the help for any error message you get (by adding after the
:help keyword the error code Exxx where x are digits).


Ctrl-X Ctrl-K is for dictionary search, see :help i_CTRL-X_CTRL-K where
it is also said that the default for the 'dictionary' option (q.v.) is
empty.


Also (as was also mentioned), check near the middle of the output of the
:version command for the location of a "system vimrc file". If that file
(not included in Bram's official set of runtime file, but perhaps in
RedHat's) exists, it will be sourced before your own vimrc:, you may
want to :view it, to see if there is anything in it that you don't like.


Best regards,
Tony.
--
Proof techniques #2: Proof by Oddity.
SAMPLE: To prove that horses have an infinite number of legs.
(1) Horses have an even number of legs.
(2) They have two legs in back and fore legs in front.
(3) This makes a total of six legs, which certainly is an odd number of
legs for a horse.
(4) But the only number that is both odd and even is infinity.
(5) Therefore, horses must have an infinite number of legs.

Topics is be covered in future issues include proof by:
Intimidation
Gesticulation (handwaving)
"Try it; it works"
Constipation (I was just sitting there and ...)
Blatant assertion
Changing all the 2's to _ n's
Mutual consent
Lack of a counterexample, and
"It stands to reason"

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