On Thursday, December 5, 2013 6:19:25 AM UTC+4, Brook Hong wrote:
> I'd also like to use <Space> as leader key, as the issue reporter.
> https://code.google.com/p/vim/issues/detail?id=125
> 
> diff --git a/src/normal.c b/src/normal.c
> index 013fdce..cb092a0 100644
> --- a/src/normal.c
> +++ b/src/normal.c
> @@ -4021,6 +4021,9 @@ add_to_showcmd(c)
>  #endif
>  
>      p = transchar(c);
> +    if(p[0] == ' ') {
> +        STRCPY(p, "SPACE");
> +    }
>      old_len = (int)STRLEN(showcmd_buf);
>      extra_len = (int)STRLEN(p);
>      overflow = old_len + extra_len - SHOWCMD_COLS

I think you should use one of the existing notations: `<Space>` like for 
mappings (too long) or `<20>` like for invalid unicode. I would prefer the 
latter as it is shorter.

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui