Re: cmap to use a substitute command

2012-04-21 Thread David Fishburn
On 4/20/2012 3:07 PM, Andy Wokula wrote: Am 20.04.2012 19:53, schrieb David Fishburn: Good Morning. Vim 7.3.1-421 Windows 7 64-bit. I want to create a command mode mapping which will do a substitution on what is already typed in. I am just wondering how to get access to the command line? My

cmap to use a substitute command

2012-04-20 Thread David Fishburn
Good Morning. Vim 7.3.1-421 Windows 7 64-bit. I want to create a command mode mapping which will do a substitution on what is already typed in. I am just wondering how to get access to the command line? My searches through the help which was based on cmap and mapmode-c didn't reveal

Re: cmap to use a substitute command

2012-04-20 Thread Ben Fritz
On Friday, April 20, 2012 12:53:36 PM UTC-5, David Fishburn wrote: Good Morning. Vim 7.3.1-421 Windows 7 64-bit. I want to create a command mode mapping which will do a substitution on what is already typed in. I am just wondering how to get access to the command line? My searches

Re: cmap to use a substitute command

2012-04-20 Thread Andy Wokula
Am 20.04.2012 19:53, schrieb David Fishburn: Good Morning. Vim 7.3.1-421 Windows 7 64-bit. I want to create a command mode mapping which will do a substitution on what is already typed in. I am just wondering how to get access to the command line? My searches through the help which was based

Re: cmap to use a substitute command

2012-04-20 Thread Ben Fritz
On Friday, April 20, 2012 2:07:24 PM UTC-5, Andy Wokula wrote: :h getcmdline() :h c_CTRL-\_e Awesome, I didn't know about c_CTRL-\_e, I was wondering why there wasn't a setcmdline() function. Now I know! That functionality is elsewhere. -- You received this message from the

Re: cmap to use a substitute command

2012-04-20 Thread Chris Jones
On Fri, Apr 20, 2012 at 04:47:04PM EDT, Ben Fritz wrote: On Friday, April 20, 2012 2:07:24 PM UTC-5, Andy Wokula wrote: :h getcmdline() :h c_CTRL-\_e Awesome, I didn't know about c_CTRL-\_e, I was wondering why there wasn't a setcmdline() function. Now I know! That

Re: cmap to use a substitute command

2012-04-20 Thread Chris Jones
addendum.. more likely ‘!’ or CR cmap's than :cabbrev's.. CJ -- ALL YOUR BASE ARE BELONG TO US! -- 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