Chris Jones wrote:
> I have this in my .vimrc:
>
> nmap <Space> i<Space><Esc>
>
> It lets me enter spaces without leaving normal mode.
>
> Or used to .. 
>
> Fairly recently, this stopped working as expected:
>
> What happens if I hit space in normal mode, is that vim inserts an
> unlimited number of spaces, apparently one at a time. 
>
> I could be wrong about this, but it happens rather quickly and I can't
> think of a way to have it played in slow motion. 
>
> [snip]
>   

This map looks quite recursive; the i<Space> invokes the map again 
(recursively), and repeats ad infinitum.  Seems to me you want a 
no-remap; try

nno <Space> i<Space><Esc>

Haven't tested this, though, and I haven't finished reading all the 
other replies yet (so this may be a repeat!)

Regards,
Chip Campbell



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to