On 08/10/11 05:39, Ismail, Mohd F. wrote:
From: Christian Brabandt<[email protected]>
Date: Thu, 6 Oct 2011 20:11:31 +0200
Local: Thurs, Oct 6 2011 1:11 pm
Subject: Re: Vim 7.2 on CentOS 6 - set ruler has no effect
Print | Individual message | Show original | Report this message | Find
messages by this author
Hi Ismail,!
On Do, 06 Okt 2011, Ismail, Mohd F. wrote:
Here it is. I'll compile my own version then. Is there a guide on what's best
option to include?
[...]
Huge version without GUI. Features included (+) or not (-):
+arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
Are you sure, this is the same version which has the problem. set ruler
should work just find from this version. Could it be, there is another
vim in your path, may be a tiny vim or you called it vi? Try :version
from within the vim, that has the problem and look for +cmdline_info
(enabled ruler feature) or -cmdline_info (disbaled ruler feature)
regards,
Christian
Hi Christian,
You're right. There are /bin/vi and /usr/bin/vim. vim is the one with set
ruler that works fine, while vi doesn't show that. Thank you for pointing that
out.
--Farid
On RedHat and similar systems, you may have several Vim executables
installed:
/bin/vi is a "minimal" version with no arithmetic evaluation, no syntax
highlighting, no ruler, no split-windows, no multibyte support, etc. Its
only advantage is that it is guaranteed to be on a filesystem which is
always "mounted" even when running the system in single-user
emergency-repairs mode (runlevel 1 or S) and even if /usr is on
different filesystem which, in that case, may be left unmounted.
/usr/bin/vim is a normal version with most functionalities but no GUI.
/usr/X11R6/bin/gvim is a full-fledged executable with GUI. It can also
run in a terminal if the X server is not accessible or if invoked with
the -v command-line switch or from a "vim" softlink.
Since they come from distinct packages you may have one, two or all
three of them installed.
Best regards,
Tony.
--
There are times when truth is stranger than fiction and lunch time is
one of them.
--
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