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
Thanks. SPACE is a bit long, I think SPC will do.
--
If Pacman had affected us as kids we'd be running around in dark rooms,
munching pills and listening to repetitive music.
-- Marcus Brigstocke
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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.