Re: insert mode map multiple spaces
- On Wed, July 25, 2012 08:12, sinbad wrote:
> On Jul 21, 1:21 am, sinbad <sinbad.sin...@...> wrote:Depends on what you want to do. First, normal doesn't understand <CR>,
>> can we perform some action inside the map function.
>> i have this " normal /;<CR>" inside the Map(), it doesn't
>> seem to be working, it just prints '0', can't map functions do that ?
> is it possible to to do this in the mapping, i always get '0' echoed
> to the screen.
you need to use :exe for that. See :h :norm
Also when using expression mappings, always consider what is blocked
Third, it is probably easier, if you just use the search() function.
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