While learning vim 4.6.2 I typed a control-G to display
the name of the file, number of lines and characters
on the bottom.
What is the command to get out of that mode?
Larry
--
Larry Alkoff N2LA - Austin TX
Using Thunderbird on Linux
John Beckett wrote:
> I like the concept of using the Google wiki. In addition to the "Google
> is Good" factor, there is the likelihood of very high reliability and zero
> cost. Also, it seems appropriate due to Bram's work.
>
> As has been pointed out, spam is a really big threat, and will get
Simon Jackson wrote:
# Method II (in the vimrc)
# autocommand FileType ruby setlocal sts=2 et
I tried this and i got:
not an editor command
Oops!
s/autocommand/autocmd
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
60. As your car crashes through the gu
I like the concept of using the Google wiki. In addition to the "Google
is Good" factor, there is the likelihood of very high reliability and zero
cost. Also, it seems appropriate due to Bram's work.
As has been pointed out, spam is a really big threat, and will get
worse (more automated) every y
Tom Purl wrote:
> >> Ok everyone, the project's created:
> >>
> >> * http://code.google.com/p/vimtips/
> >
> > I think there's a major disadvantage in using the code.google.com wiki
> > - it only allows people who have been added to the project to edit the
> > wiki via the web interface (please c
for_lists wrote:
I guess I just don't get it.
o -> 2 key presses
:put_ -> 6 key presses (8 if you count shift)
Why is ':put_' or other variants easier?
-Brian
":put" is an ex-command. I spoke of using o at the keyboard, or ":put
=''" in a script. To use o in a *script*, you must use
Jabba Laci wrote:
Hi,
I always use 3 spaces for indenting. Now I started to learn Ruby, and
the style guide says Ruby developers prefer 2 spaces. I just wonder
how I could change the indenting just for *.rb files.
Thanks,
Laszlo
see
:help 'tabstop'
:hel
Brian McKee wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 23-Feb-07, at 3:55 PM, A.J.Mechelynck wrote:
Waiting for email (with a pseudorandom confirmation code) proves that
the registration wasn't requested "in your name" by someone else. It
requires no human intervention server-sid
Hi,
I always use 3 spaces for indenting. Now I started to learn Ruby, and
the style guide says Ruby developers prefer 2 spaces. I just wonder
how I could change the indenting just for *.rb files.
Thanks,
Laszlo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 23-Feb-07, at 3:55 PM, A.J.Mechelynck wrote:
Waiting for email (with a pseudorandom confirmation code) proves
that the registration wasn't requested "in your name" by someone
else. It requires no human intervention server-side and only a few
Andy Wokula wrote:
A.J.Mechelynck schrieb:
Alexey Vakhov wrote:
Hi Dear community,
Command o and O create new line and switch to insert mode. I want only
insert blank line and stay in normal mode. I know this problem can be
solved using simple mappting, but maybe in vim there are original
comm
Brian McKee wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 23-Feb-07, at 3:00 PM, Brian McKee wrote:
On 23-Feb-07, at 2:32 PM, Tom Purl wrote:
I've done a bit of work on the vimtips wiki at Google the last few days,
and it's come to my attention that it isn't really designed to do wh
> I guess we need (if possible) something along the lines of "the" wiki,
> .wikipedia.org
Mediawiki (the wiki engine used by Wikipedia) is very nice, and it's the
one I'm leaning towards also.
>> This awkward user-registration process will most certainly keep
>> people from contributing or updati
Yakov Lerner wrote:
[...]
My opinion is that that wikipedia-style wiki is the best. It's scalable,
it proved itself, i think it's easy on admins, afaik it's used not only by
wikipedia.
Regarding anonymous contributions, they proved problematic on vim.org/tips.
Anonymous contrib was what created
Hi,
On 2/23/07, Andy Wokula <[EMAIL PROTECTED]> wrote:
In my vimrc I have (for gVim 6.4, gVim 7.0)
:imap u
Each "u" goes back one line of text in the undo history.
Note the "imap" instead of "inoremap". This way
abbreviations still work.
Does it say in the help that if a key is mapped
Tom Purl wrote:
I've done a bit of work on the vimtips wiki at Google the last few days,
and it's come to my attention that it isn't really designed to do what
we want it to do. The Google wiki is designed to be used by a small
number of people working on a particular open source project. It is
A.J.Mechelynck schrieb:
Alexey Vakhov wrote:
Hi Dear community,
Command o and O create new line and switch to insert mode. I want only
insert blank line and stay in normal mode. I know this problem can be
solved using simple mappting, but maybe in vim there are original
commands for this tip?
T
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 23-Feb-07, at 3:00 PM, Brian McKee wrote:
On 23-Feb-07, at 2:32 PM, Tom Purl wrote:
I've done a bit of work on the vimtips wiki at Google the last few
days,
and it's come to my attention that it isn't really designed to do
what
we want it to
A.J.Mechelynck schrieb:
Andy Wokula wrote:
There is another strange detail about u
In my vimrc I have (for gVim 6.4, gVim 7.0)
:imap u
Each "u" goes back one line of text in the undo history.
Note the "imap" instead of "inoremap". This way
abbreviations still work.
For the strange part: T
A.J.Mechelynck wrote:
[...]
:command -bar -bang -range -nargs=* Iline
\ if == '!' | put! = |
\ else | put = | endif
Best regards,
Tony.
The following is maybe easier to understand -- or maybe not:
:command -nargs=0 -bar -bang -range -reg Put
\ exe (( == '!') ? : ) .
On 2/23/07, Tom Purl <[EMAIL PROTECTED]> wrote:
I've done a bit of work on the vimtips wiki at Google the last few days,
and it's come to my attention that it isn't really designed to do what
we want it to do. The Google wiki is designed to be used by a small
number of people working on a partic
I've done a bit of work on the vimtips wiki at Google the last few days,
and it's come to my attention that it isn't really designed to do what
we want it to do. The Google wiki is designed to be used by a small
number of people working on a particular open source project. It is not
designed to b
Kev wrote:
A.J.Mechelynck wrote:
Alexey Vakhov wrote:
Hi Dear community,
Command o and O create new line and switch to insert mode. I want only
insert blank line and stay in normal mode. I know this problem can be
solved using simple mappting, but maybe in vim there are original
commands for t
> Sorry for answering off list again, I can not post to the list.
That's unfortunate. I'm happy to post this to the list.
>>> There is one thing to mention about parsing tips. Are we going to put
>>> the additional comments to the wiki? There are many useful comments
>>> but there are also many
A.J.Mechelynck wrote:
Alexey Vakhov wrote:
Hi Dear community,
Command o and O create new line and switch to insert mode. I want only
insert blank line and stay in normal mode. I know this problem can be
solved using simple mappting, but maybe in vim there are original
commands for this tip?
Tha
Tom Purl wrote:
There is one thing to mention about parsing tips. Are we going to put
the additional comments to the wiki? There are many useful comments but
there are also many useless junk.
It would be _lots_ of work to look at every comment and see if they're
useful or not.
What are your i
Andy Wokula wrote:
Yakov Lerner schrieb:
On 2/20/07, Tim Chase <[EMAIL PROTECTED]> wrote:
I'm trying to find a good way to remap control+U in insert-mode
so that it begins an undo-block. There are times when type
control+U in insert-mode and it doesn't do what I intend, or I
want to undo it, o
>> Ok everyone, the project's created:
>>
>> * http://code.google.com/p/vimtips/
>
> I think there's a major disadvantage in using the code.google.com wiki
> - it only allows people who have been added to the project to edit the
> wiki via the web interface (please correct me if I'm wrong). At leas
Yakov Lerner schrieb:
On 2/20/07, Tim Chase <[EMAIL PROTECTED]> wrote:
I'm trying to find a good way to remap control+U in insert-mode
so that it begins an undo-block. There are times when type
control+U in insert-mode and it doesn't do what I intend, or I
want to undo it, only to find that an
Alexey Vakhov wrote:
Hi Dear community,
Command o and O create new line and switch to insert mode. I want only
insert blank line and stay in normal mode. I know this problem can be
solved using simple mappting, but maybe in vim there are original
commands for this tip?
Thanks a lot
IIUC there
Ok everyone, the project's created:
* http://code.google.com/p/vimtips/
I think there's a major disadvantage in using the code.google.com wiki
- it only allows people who have been added to the project to edit the
wiki via the web interface (please correct me if I'm wrong). At least
if it allow
> There is one thing to mention about parsing tips. Are we going to put
> the additional comments to the wiki? There are many useful comments but
> there are also many useless junk.
> It would be _lots_ of work to look at every comment and see if they're
> useful or not.
> What are your ideas
Vincent Beffara wrote:
So here is my question. I have a bibliography in a .bib file, which
(just in case) is just a plain text files containing entries that each
look like this :
@article{key,
author = {Whatshisname, J.},
title = {My paper}
}
(note the '@' at the beginning of the first line
On Fri, Feb 23, 2007 at 04:26:50PM +0300, Pavel Shevaev wrote:
> >:vimgrep pattern directory/**/*.h
>
> Just an aside question - is there anything alike for find & replace in
> files? Something like :%s/../../g could be very helpful...
> Especially it would be great to see replaced stuff in quick
Hello,
Alexey Vakhov <[EMAIL PROTECTED]> wrote:
> I want to add simple code snippets. For example if I press { I
> want to extend this to
> {
> <--- cursor
> }
> How can I make this by simplest way?
The simpliest way ? Well, it probably consists in using one of the numerous c or
C++ ftplugins o
:vimgrep pattern directory/**/*.h
Just an aside question - is there anything alike for find & replace in
files? Something like :%s/../../g could be very helpful...
Especially it would be great to see replaced stuff in quickfix window.
--
Best regards, Pavel
On Fri, Feb 23, 2007 at 10:52:52AM +0300, Alexey Vakhov wrote:
> Hi All,
>
> One question more ) Can i highlight words using for example ctags file
> and highlight wrong identifier like Visual Assist in Visual Studio.
> Thanks.
Yet another idea: try [ which does tag completion. Than you have a
va
On Fri, Feb 23, 2007 at 10:52:52AM +0300, Alexey Vakhov wrote:
> Hi All,
>
> One question more ) Can i highlight words using for example ctags file
> and highlight wrong identifier like Visual Assist in Visual Studio.
> Thanks.
Hi Alexey
Thats possible.
vim syntax highligthing is doing this.
try
On Fri, Feb 23, 2007 at 11:36:40AM +0300, Alexey Vakhov wrote:
> I mean If I press enter end next press { system should to understand
> that it is new block and add right bracket also. But if I press Enter
> and start line with another symbol system should do nothing. Thanks
> for :inoremap tip. It
> Command o and O create new line and switch to insert mode. I want only
> insert blank line and stay in normal mode. I know this problem can be
> solved using simple mappting, but maybe in vim there are original
> commands for this tip?
AFAIK, there's no built-in command to do this in Vim. Howev
I mean If I press enter end next press { system should to understand
that it is new block and add right bracket also. But if I press Enter
and start line with another symbol system should do nothing. Thanks
for :inoremap tip. It's useful )
2007/2/23, Gavin Gilmour <[EMAIL PROTECTED]>:
Hi, I assu
Hi, I assume that you mean {?
If so, I have a bunch of mappings that do just this:
inoremap { {}O
With some bonus ones that you may either like or find incredibly annoying:
inoremap [ []
inoremap ( ()
inoremap " ""
inoremap ' ''
I'm undecided on the latter!
Cheers,
Gavin.
On Fri, Feb 23, 20
On Fri, 23 Feb 2007 06:32:28 +0200
Ali Polatel <[EMAIL PROTECTED]> wrote:
> There is one thing to mention about parsing tips. Are we going to
> put the additional comments to the wiki? There are many useful
> comments but there are also many useless junk.
> It would be _lots_ of work to look at
43 matches
Mail list logo