Thread View: news.software.readers
16 messages
16 total messages
Started by Scott Eberl
Thu, 15 Apr 2004 19:30
vim in insert mode when its opened to post
Author: Scott Eberl
Date: Thu, 15 Apr 2004 19:30
Date: Thu, 15 Apr 2004 19:30
11 lines
1303 bytes
1303 bytes
This is a small yet largely annoying issue. When I post using vim launched by slrn I always have to hit I before I can type since I need to put VIM into insert mode. Is there a switch I can pass it via my .slrn.conf file to do this for me? -- Scott Eberl Telephony Applications Coordinator --------------------------------- Charter Communications "A Wired World Company"
Re: vim in insert mode when its opened to post
Author: SINNER
Date: Thu, 15 Apr 2004 19:36
Date: Thu, 15 Apr 2004 19:36
15 lines
1672 bytes
1672 bytes
While strolling through news.software.readers, Scott Eberl was overheard plotting: > This is a small yet largely annoying issue. When I post using vim > launched by slrn I always have to hit I before I can type since I > need to put VIM into insert mode. Is there a switch I can pass it > via my .slrn.conf file to do this for me? > I dont know the answer bt what about a different editor like jed? I Know, Blasphemy, I use VIM too but dont mind hitting a or i first. -- David
Re: vim in insert mode when its opened to post
Author: Blinky the Shark
Date: Thu, 15 Apr 2004 20:06
Date: Thu, 15 Apr 2004 20:06
21 lines
1708 bytes
1708 bytes
SINNER wrote: > While strolling through news.software.readers, Scott Eberl was > overheard plotting: >> This is a small yet largely annoying issue. When I post using vim >> launched by slrn I always have to hit I before I can type since I >> need to put VIM into insert mode. Is there a switch I can pass it >> via my .slrn.conf file to do this for me? > I dont know the answer bt what about a different editor like jed? Blas... > I Know, Blasphemy, I use VIM too but dont mind hitting a or i first. ...oh. Never mind. :) -- Blinky Linux RU 4892F The Ugliest Cars (mildly adult): http://snipurl.com/ugliest
Re: vim in insert mode when its opened to post
Author: Max
Date: Thu, 15 Apr 2004 21:39
Date: Thu, 15 Apr 2004 21:39
27 lines
1758 bytes
1758 bytes
On 04-15-2004, in news.software.readers, Scott Eberl <scott@airea420.com> wrote: > This is a small yet largely annoying issue. When I post using vim > launched by slrn I always have to hit I before I can type since I > need to put VIM into insert mode. Is there a switch I can pass it > via my .slrn.conf file to do this for me? > man vim vim --help I'd suspect questions like this are best handled in comp.editors. I'm not sure if this helps you, but you can use evim (Modeless) or pass the -y option (Modeless) to vim. Post your question to comp.editors if you're looking for something else. I don't personally find it difficult dealing with modes in vim. I did however, find it (modes) agitating in my winblows days. Max -- ____ ____ ____ ||M |||A |||X || ||__|||__|||__|| |/__\|/__\|/__\|
Re: vim in insert mode when its opened to post
Author: Blinky the Shark
Date: Thu, 15 Apr 2004 22:16
Date: Thu, 15 Apr 2004 22:16
23 lines
1927 bytes
1927 bytes
Max wrote: > On 04-15-2004, in news.software.readers, > Scott Eberl <scott@airea420.com> wrote: >> This is a small yet largely annoying issue. When I post using vim >> launched by slrn I always have to hit I before I can type since I >> need to put VIM into insert mode. Is there a switch I can pass it >> via my .slrn.conf file to do this for me? > I'd suspect questions like this are best handled in comp.editors. > I'm not sure if this helps you, but you can use evim (Modeless) or > pass the -y option (Modeless) to vim. Post your question to It probably doesn't, because those two ways of doing the same thing do a bunch of other stuff as well -- change keybindings, make you use Ctrl-o to get into normal mode when you do need it, and so on. -- Blinky Linux RU 4892F The Ugliest Cars (mildly adult): http://snipurl.com/ugliest
Re: vim in insert mode when its opened to post
Author: Blinky the Shark
Date: Fri, 16 Apr 2004 01:19
Date: Fri, 16 Apr 2004 01:19
15 lines
1478 bytes
1478 bytes
Scott Eberl wrote:
> This is a small yet largely annoying issue. When I post using vim
> launched by slrn I always have to hit I before I can type since I need
> to put VIM into insert mode. Is there a switch I can pass it via my
> .slrn.conf file to do this for me?
Couldn't find anything; checked in comp.editors. Response was:
vim -c startinsert
--
Blinky Linux RU 4892F
The Ugliest Cars (mildly adult): http://snipurl.com/ugliest
Re: vim in insert mode when its opened to post
Author: Max
Date: Fri, 16 Apr 2004 10:03
Date: Fri, 16 Apr 2004 10:03
29 lines
1914 bytes
1914 bytes
On 04-15-2004, in news.software.readers, Blinky the Shark <no.spam@box.invalid> wrote: > Scott Eberl wrote: >> This is a small yet largely annoying issue. When I post using vim >> launched by slrn I always have to hit I before I can type since I >> need to put VIM into insert mode. Is there a switch I can pass it >> via my .slrn.conf file to do this for me? > > Couldn't find anything; checked in comp.editors. Response was: > > vim -c startinsert Yep. That's the answer. Would you believe that prior to posting my other reply, I actually typed ':he insert' followed by crtl-d. There it was, staring me right in the face and I completely missed it. Not good. Now that I think about it, starting vim from slrn like this might not be such a bad idea. Unless I start noticing that all my posts and replies begin with "i". :) Max -- ____ ____ ____ ||M |||A |||X || ||__|||__|||__|| |/__\|/__\|/__\|
Re: vim in insert mode when its opened to post
Author: SINNER
Date: Fri, 16 Apr 2004 14:24
Date: Fri, 16 Apr 2004 14:24
40 lines
2403 bytes
2403 bytes
While strolling through news.software.readers, Max was overheard plotting: > On 04-15-2004, in news.software.readers, > Blinky the Shark <no.spam@box.invalid> wrote: > >> Scott Eberl wrote: >>> This is a small yet largely annoying issue. When I post using vim >>> launched by slrn I always have to hit I before I can type since I >>> need to put VIM into insert mode. Is there a switch I can pass it >>> via my .slrn.conf file to do this for me? >> >> Couldn't find anything; checked in comp.editors. Response was: >> >> vim -c startinsert > > Yep. That's the answer. Would you believe that prior to posting my > other reply, I actually typed ':he insert' followed by crtl-d. There > it was, staring me right in the face and I completely missed it. Not > good. > > Now that I think about it, starting vim from slrn like this might > not be such a bad idea. Unless I start noticing that all my posts > and replies begin with "i". :) > > Max > I command you to stop looking for shortcuts. Next you'll find a way to stop hitting escape! To The Lions! ;) -- David
Re: vim in insert mode when its opened to post
Author: Blinky the Shark
Date: Fri, 16 Apr 2004 17:49
Date: Fri, 16 Apr 2004 17:49
34 lines
2296 bytes
2296 bytes
Max wrote: > On 04-15-2004, in news.software.readers, > Blinky the Shark <no.spam@box.invalid> wrote: >> Scott Eberl wrote: >>> This is a small yet largely annoying issue. When I post using vim >>> launched by slrn I always have to hit I before I can type since I >>> need to put VIM into insert mode. Is there a switch I can pass it >>> via my .slrn.conf file to do this for me? >> Couldn't find anything; checked in comp.editors. Response was: >> vim -c startinsert > Yep. That's the answer. Would you believe that prior to posting my > other reply, I actually typed ':he insert' followed by crtl-d. There > it was, staring me right in the face and I completely missed it. Not > good. That's a place I'm weak, even though I try help first, too. When I do that, I get (snipped) *i* *insert* *<Insert>* But nothing about that says "here's a startup option/switch". To me, that all looks like stuff you can do from within vim. How does one know, from that help entry, that there's a command line switch/option there? -- Blinky Linux RU 4892F The Ugliest Cars (mildly adult): http://snipurl.com/ugliest
Re: vim in insert mode when its opened to post
Author: raf
Date: Fri, 16 Apr 2004 20:01
Date: Fri, 16 Apr 2004 20:01
28 lines
2121 bytes
2121 bytes
Blinky the Shark wrote in news:slrnc7tqpi.8n8.no.spam@thurston.blinkynet.net on 15.04.2004: > SINNER wrote: > > While strolling through news.software.readers, Scott Eberl was > > overheard plotting: > > >> This is a small yet largely annoying issue. When I post using vim > >> launched by slrn I always have to hit I before I can type since I > >> need to put VIM into insert mode. Is there a switch I can pass it > >> via my .slrn.conf file to do this for me? > > > I dont know the answer bt what about a different editor like jed? > > Blas... > > > I Know, Blasphemy, I use VIM too but dont mind hitting a or i first. > > ...oh. Never mind. :) > It wouldn't be too blasphemous if he uses "elvis -i '+/^$'" -- One reason why George Washington Is held in such veneration: He never blamed his problems On the former Administration. -- George O. Ludcke
Re: vim in insert mode when its opened to post
Author: Blinky the Shark
Date: Fri, 16 Apr 2004 22:14
Date: Fri, 16 Apr 2004 22:14
30 lines
2058 bytes
2058 bytes
raf wrote: > Blinky the Shark wrote > in news:slrnc7tqpi.8n8.no.spam@thurston.blinkynet.net on 15.04.2004: >> SINNER wrote: >> > While strolling through news.software.readers, Scott Eberl was >> > overheard plotting: >> >> This is a small yet largely annoying issue. When I post using vim >> >> launched by slrn I always have to hit I before I can type since I >> >> need to put VIM into insert mode. Is there a switch I can pass it >> >> via my .slrn.conf file to do this for me? >> > I dont know the answer bt what about a different editor like jed? >> Blas... >> > I Know, Blasphemy, I use VIM too but dont mind hitting a or i first. >> ...oh. Never mind. :) > It wouldn't be too blasphemous if he uses "elvis -i '+/^$'" What does the inner quoted string do? -- Blinky Linux RU 4892F The Ugliest Cars (mildly adult): http://snipurl.com/ugliest
Re: vim in insert mode when its opened to post
Author: raf
Date: Fri, 16 Apr 2004 23:40
Date: Fri, 16 Apr 2004 23:40
37 lines
2614 bytes
2614 bytes
Blinky the Shark wrote in news:slrnc80mml.dti.no.spam@thurston.blinkynet.net on 16.04.2004: > raf wrote: > > Blinky the Shark wrote > > in news:slrnc7tqpi.8n8.no.spam@thurston.blinkynet.net on 15.04.2004: > > >> SINNER wrote: > >> > While strolling through news.software.readers, Scott Eberl was > >> > overheard plotting: > > >> >> This is a small yet largely annoying issue. When I post using vim > >> >> launched by slrn I always have to hit I before I can type since I > >> >> need to put VIM into insert mode. Is there a switch I can pass it > >> >> via my .slrn.conf file to do this for me? > > >> > I dont know the answer bt what about a different editor like jed? > > >> Blas... > > >> > I Know, Blasphemy, I use VIM too but dont mind hitting a or i first. > > >> ...oh. Never mind. :) > > > > It wouldn't be too blasphemous if he uses "elvis -i '+/^$'" > > What does the inner quoted string do? > No idea, I got it from Sven Guckes config files. You know how he over do with the files^_^. Anyway, this is what he wrote. "Start vim on first empty line (ie right after the header):" -- "Outside of a dog, a book is a man's best friend: and inside a dog, it's too dark to read." -- Groucho Marx
Re: vim in insert mode when its opened to post
Author: Blinky the Shark
Date: Sat, 17 Apr 2004 01:34
Date: Sat, 17 Apr 2004 01:34
40 lines
2561 bytes
2561 bytes
raf wrote: > Blinky the Shark wrote > in news:slrnc80mml.dti.no.spam@thurston.blinkynet.net on 16.04.2004: >> raf wrote: >> > Blinky the Shark wrote >> > in news:slrnc7tqpi.8n8.no.spam@thurston.blinkynet.net on 15.04.2004: >> >> SINNER wrote: >> >> > While strolling through news.software.readers, Scott Eberl was >> >> > overheard plotting: >> >> >> This is a small yet largely annoying issue. When I post using vim >> >> >> launched by slrn I always have to hit I before I can type since I >> >> >> need to put VIM into insert mode. Is there a switch I can pass it >> >> >> via my .slrn.conf file to do this for me? >> >> > I dont know the answer bt what about a different editor like jed? >> >> Blas... >> >> > I Know, Blasphemy, I use VIM too but dont mind hitting a or i first. >> >> ...oh. Never mind. :) >> > It wouldn't be too blasphemous if he uses "elvis -i '+/^$'" >> What does the inner quoted string do? > No idea, I got it from Sven Guckes config files. You know how he over > do with the files^_^. Anyway, this is what he wrote. > "Start vim on first empty line (ie right after the header):" That's where it starts here, with no such code. -- Blinky Linux RU 4892F The Ugliest Cars (mildly adult): http://snipurl.com/ugliest
Re: vim in insert mode when its opened to post
Author: Max
Date: Sat, 17 Apr 2004 08:32
Date: Sat, 17 Apr 2004 08:32
41 lines
2150 bytes
2150 bytes
On 04-16-2004, in news.software.readers, SINNER <99nesorjd@ibtta.gov> wrote: > While strolling through news.software.readers, Max was overheard > plotting: > >> On 04-15-2004, in news.software.readers, >> Blinky the Shark <no.spam@box.invalid> wrote: >> >>> Scott Eberl wrote: >>>> This is a small yet largely annoying issue. When I post using >>>> vim >> Now that I think about it, starting vim from slrn like this might >> not be such a bad idea. Unless I start noticing that all my posts >> and replies begin with "i". :) >> >> Max >> > > I command you to stop looking for shortcuts. Next you'll find a > way to stop hitting escape! > > To The Lions! iHah!!!. To the gates of hell you go you dirty stinking Roman... I'm invincible. I'm immortal. The lions can't touch me. Not even the gods can touch me. Go ahead and throw me to the beasts. I'll rip them from limb to limb and reach up to twist your smelly Roman neck. ;) Oh my, do I spy an "i" up there? Max -- ____ ____ ____ ||M |||A |||X || ||__|||__|||__|| |/__\|/__\|/__\|
Re: vim in insert mode when its opened to post
Author: Max
Date: Sat, 17 Apr 2004 08:32
Date: Sat, 17 Apr 2004 08:32
98 lines
4735 bytes
4735 bytes
On 04-16-2004, in news.software.readers,
Blinky the Shark <no.spam@box.invalid> wrote:
> Max wrote:
>> On 04-15-2004, in news.software.readers,
>> Blinky the Shark <no.spam@box.invalid> wrote:
>
>>> Scott Eberl wrote:
>>>> This is a small yet largely annoying issue. When I post using
>>>> vim launched by slrn I always have to hit I before I can type
>>>> since I need to put VIM into insert mode. Is there a switch I
>>>> can pass it via my .slrn.conf file to do this for me?
>
>>> Couldn't find anything; checked in comp.editors. Response was:
>
>>> vim -c startinsert
>
>> Yep. That's the answer. Would you believe that prior to posting
>> my other reply, I actually typed ':he insert' followed by crtl-d.
>> There it was, staring me right in the face and I completely
>> missed it. Not good.
>
> That's a place I'm weak, even though I try help first, too. When
> I do that, I get (snipped)
>
> *i* *insert* *<Insert>*
[All things below apply to my vim 6.2 (patched to #314)]
I'm not so sure you need to be so quick in labeling yourself "weak".
When typing ':he insert(CTRL-D)' <- (Note the ctrl-d needs to occur
the split second after you typed "t"), you should have seen a list
similar to this: [condensed to fit into line width]
#---
insert** inserting-ex tcl-buffer-insert c_<Insert>
:inser** insert_expand Insert i_<Insert>
insert** inserting-file <Insert> 'iminsert'
insert** +insert_expand Insert-mode :stopinsert
^^^^^^^^^^^
'inser** delete-insert <C-Insert> :startinsert
^^^^^^^^^^^^
insert** scroll-insert <S-Insert> 'noinsertmode'
#---
{See what I missed?}
At this point you could've backspaced and typed in 'startinsert'
whilst still on the :he command line. This would have yielded the
following:
:he startinsert
*:start* *:startinsert*
:star[tinsert][!] Start Insert mode just after executing this
command. Works like typing "i" in Normal mode.
When the ! is included it works like "A", append
to the line. Otherwise insertion starts at the
cursor position. Note that when using this
command in a function or script, the insertion
only starts after the function or script is
finished. {not in Vi} {not available when
compiled without the +ex_extra feature}
> But nothing about that says "here's a startup option/switch". To
> me, that all looks like stuff you can do from within vim.
True. You were on the wrong page. Close, but no cigar (Max now
shakes his own hand). Hindsight is at play here, but one could have
gotten away with a mere [:he start{ctrl-d}] -> (See the resulting
happy list of help topics) and ended up with the same result.
> How does one know, from that help entry, that there's a command
> line switch/option there?
I'd suppose one doesn't. You were on the wrong page anyway. (g)vim
--help yields:
[...]
-c <command> Execute <command> after loading the first file
[...]
Just a matter of experimentation isn't it? If I'm able to 'execute'
a command within vim, would it not seem logical I'd be able to pull
off a similar thing from the command line? "(g)vim -c <command>"
implies I can (true or not - Up to us to find out eh?). Still, a
"PITA" though. [shrug]
Carry on pilot... ;)
Max
--
____ ____ ____
||M |||A |||X ||
||__|||__|||__||
|/__\|/__\|/__\|
Re: vim in insert mode when its opened to post
Author: Max
Date: Sat, 17 Apr 2004 08:32
Date: Sat, 17 Apr 2004 08:32
35 lines
2095 bytes
2095 bytes
On 04-16-2004, in news.software.readers, raf <me9@privacy.net> wrote: >> >> > I Know, Blasphemy, I use VIM too but dont mind hitting a or >> >> > i first. >> >> >> ...oh. Never mind. :) >> >> >> > It wouldn't be too blasphemous if he uses "elvis -i '+/^$'" >> >> What does the inner quoted string do? >> > No idea, I got it from Sven Guckes config files. You know how he > over do with the files^_^. Anyway, this is what he wrote. "Start > vim on first empty line (ie right after the header):" iGuckes isn't wrong now is he? (g)vim/elvis can handle +<regex-pattern> on the command line. For example: (g)vim '+/^Max$' ~/.followup drops the cursor on my singular name. Single quote to avoid any shell expansion. See an error if the pattern doesn't match. I'm seeing that dumbass "i" up there again... Not good. Max -- ____ ____ ____ ||M |||A |||X || ||__|||__|||__|| |/__\|/__\|/__\|
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads