On Thu, Jul 20, 2006 at 11:07:48AM -0700, John Reese wrote:
>
> Actually, you can't actually tell that from the import line. blag
> could also be a package (i.e. directory) containing a module Bok,
> defined in a file called Bok.py. That's what I had in mind.
>
> The following is an example of
This is what I'd thinked about.
IMO, Consider use the Underlined group, The underlined is not a character,
but it looks like a character.
I guess this suit Johnson's need better.
HTH
--
Sincerely, Pan, Shi Zhu. ext: 2606
Benji Fisher <[EMAIL PROTECTED]> wrote on 2006.07.21 13:56:55:
> Wo
Would you be satisfied with changing the background color for
spaces? Step 1:
:hi
and look for a pleasing color. I am not using the GUI right now, and it
looks as though my choices are limited. (Many groups change the
foreground color but not the background, at least in the default color
Georg Dahn wrote:
Hi!
Or you might want to use
:1,$s/ /./
to replace all spaces by dots, then (immediately after)
u
for "undo".
To replace _all_ spaces by dots, you should better use
:%s/ /./g
because your command replaces the first space character of each
line only. With 'g' at
Hi!
Or you might want to use
:1,$s/ /./
to replace all spaces by dots, then (immediately after)
u
for "undo".
To replace _all_ spaces by dots, you should better use
:%s/ /./g
because your command replaces the first space character of each
line only. With 'g' at the end, all space
Okay, here's a couple of versions depending upon which version of vim you have.
I don't know if it's universal, but my installation of version 6.3 has a
non-functioning getcmdline command, and vim7 adds a useful new command,
getcmdtype, hence:
" Get path to current file in command-line using c
Steve Hall wrote:
On Fri, 2006-07-21 at 11:19 +0800, Stewart Johnson wrote:
Is there a vim option to represent space characters in a file as a
dot or something else not blank?
Vim can only represent trailing spaces, not any intermediate ones.
(Per the previously mentioned listchars option.)
Thanks guys!
Intermediate spaces were what I was looking for, oh well. :-/
On 7/21/06, Steve Hall <[EMAIL PROTECTED]> wrote:
On Fri, 2006-07-21 at 11:19 +0800, Stewart Johnson wrote:
>
> Is there a vim option to represent space characters in a file as a
> dot or something else not blank?
Vim
On Fri, 2006-07-21 at 11:19 +0800, Stewart Johnson wrote:
>
> Is there a vim option to represent space characters in a file as a
> dot or something else not blank?
Vim can only represent trailing spaces, not any intermediate ones.
(Per the previously mentioned listchars option.)
--
Steve Hall
Stewart Johnson wrote:
Hi All -
Sorry if this obvious but I couldn't find anything in :help or google.
Is there a vim option to represent space characters in a file as a dot
or something else not blank?
Thanks,
Stewart
See
:help 'list'
:help 'listchars'
Also the next time,
Hi All -
Sorry if this obvious but I couldn't find anything in :help or google.
Is there a vim option to represent space characters in a file as a dot
or something else not blank?
Thanks,
Stewart
[EMAIL PROTECTED] wrote:
Hi,
For some reason my .vimrc must works for multiple versions of Vim.
Now, I found that in Vim 6.1 Tiny version (shipped with Redhat 9), the
following does not work:
command! -nargs=+ TestCmd echo ""
TestCmd my test
The vim saids: Not an editor command: TestCmd my te
Hi,
For some reason my .vimrc must works for multiple versions of Vim.
Now, I found that in Vim 6.1 Tiny version (shipped with Redhat 9), the
following does not work:
command! -nargs=+ TestCmd echo ""
TestCmd my test
The vim saids: Not an editor command: TestCmd my test
It seems that the comm
Yakov Lerner wrote:
> Bram, How about posting a poll on www.vim.org site ?
> Two polls ! (1) Do you you vim6 or vim 7 ?
> (2) Do you use console-mode-vim or gvim ?
What would we do with the outcome?
--
hundred-and-one symptoms of being an internet addict:
29. Your phone bill comes to your door
Bram, How about posting a poll on www.vim.org site ?
Two polls ! (1) Do you you vim6 or vim 7 ?
(2) Do you use console-mode-vim or gvim ?
Yakov
Greetings, Vim users.
You may have noticed patches for Vim 7 appear at a slow pace. I
currently have limited time to work on Vim. And my internet connection
isn't 100% reliable, and SourceForge was down for a day, and [insert
your favorite excuse here]...
On the positive side: I found a nice a
I tried running install.exe. Choice 14 said "use 'edit with vim'". I typed 14,
pressed enter, and the menu came back up now showing "do NOT use 'edit with
vim'". I infer that that means the change was successful, though the feedback
is rather oblique.
Unfortunately, this did not fix the problem
On 7/19/06, Gary Johnson <[EMAIL PROTECTED]> wrote:
On 2006-07-19, John Reese <[EMAIL PROTECTED]> wrote:
> i.e.:
> from myproject.something.blar.blag import Bok
> if you put the cursor over Bok and hit gf, no dice.
I wouldn't expect that to work because Bok is not a file but an
object within th
On Wed, Jul 19, 2006 at 04:41:56PM -0700, Gary Johnson wrote:
> On 2006-07-19, John Reese <[EMAIL PROTECTED]> wrote:
[snip]
> > from myproject.something.blar.blag import Bok
> > if you put the cursor over Bok and hit gf, no dice.
>
> I wouldn't expect that to work because Bok is not a file but an
Once a split is made you can move between the split windows with
":winc" and then the regular movement command, for example to move
from the left window to the one on the right use :winc l
To move the window itself instead of the cursor only, use the
uppercase of the command, to move the t
On Thu, Jul 20, 2006 at 12:39:28AM +0200, Cesar Romani wrote:
>
> In the following code, "if" from line 2 doesn't match "else" from line 7
>
>
> 1 2 if($a > $b)
> 3 {
> 4 echo "a is bigger than b";
> 5 if($a=10) $b=5;
> 6 }
> 7 else
> 8 {
> 9 echo
Hi VIMmers,
The default sh indent script in VIM7 indent the following sample file this way:
8<
#!/bin/sh
SYSTEM=`uname -s`
case $SYSTEM in
Linux)
echo "My system is Linux"
echo "Do Linux stuff here..."
;;
FreeBSD)
echo "My system is F
On 7/20/06, SHANKAR R-R66203 <[EMAIL PROTECTED]> wrote:
Hi
In a function, I am echoing some message.
The message is echoed and there is message -
Please ENTER or type command to continue
Is there any way to get rid of this. I just want the message to be
displayed, but should not wait for VIM
[EMAIL PROTECTED] wrote:
What is the easiest way to edit a file that is in the same directory as
the current file? E.g. I open a file like this: vim /x/y/z/w/file1.c and
want to now open /x/y/z/w/file2.c? Occasionally want to open files in
the parent directory of current file's directory. It woul
Hi,
Marco Kunze wrote:
>
> Is there a method to tell vim whether I would like to open the new file below
> or
> above the current window when using :split?
for a permanent setting there are two options:
:help 'splitbelow'
:help 'splitright'
For a case by case decision you can prefix any
Hi,
Is there a method to tell vim whether I would like to open the new file below or
above the current window when using :split?
Or is there a way to swap two windows?
Thanks,
Marco
Hi
In a function, I am echoing some message.
The message is echoed and there is message -
Please ENTER or type command to continue
Is there any way to get rid of this. I just want the message to be
displayed, but should not wait for VIM to display to press any key.
I saw this behaviour in sket
On Thu, Jul 20, 2006 at 11:04:31AM +0200, Klaus Rudolph wrote:
> Hi all,
>
> I installed vim7 now and want to test the spellchecking.
> I am confused about all the stuff, because the info I found is mixed
> from version7 and older scipts.
>
> What I am really missing is a general information ab
Hi all,
I installed vim7 now and want to test the spellchecking.
I am confused about all the stuff, because the info I found is mixed
from version7 and older scipts.
What I am really missing is a general information about the new version 7
spellchecking
with all the possible configurations and
On Wed, Jul 19, 2006 at 06:10:43PM -0700, [EMAIL PROTECTED] wrote:
> What is the easiest way to edit a file that is in the same directory as
> the current file? E.g. I open a file like this: vim /x/y/z/w/file1.c and
> want to now open /x/y/z/w/file2.c?
I just type :e ^R% to get the current filenam
30 matches
Mail list logo