Re: Alt key mapping: "set " works in Normal/Command mode, but not in Insert mode

2017-04-05 Thread Jacky Liu
After a few tries I found something that looks a little bit strange to me: the Insert mode meta keymapping actually works, *only if* you set at least one mapping with the leading . Previously I tried my best to avoid mapping the leading keys, although it works, because it would introduce

Re: Alt key mapping: "set " works in Normal/Command mode, but not in Insert mode

2017-04-05 Thread Jacky Liu
> > What does ":verbose set timeoutlen" answer? > > I recommend someting like the following settings: > > if exists('+timeout') > " should a timeout be applied to keys and mappings? > " 'timeout' true=yes false=no > " 'ttimeout' (not used if 'timeout' is true) time out on key codes > "

Re: Alt key mapping: "set " works in Normal/Command mode, but not in Insert mode

2017-04-05 Thread Tony Mechelynck
On Wed, Apr 5, 2017 at 3:48 PM, Jacky Liu wrote: > My Vim version is 8.0.540 if it helps What does ":verbose set timeoutlen" answer? I recommend someting like the following settings: if exists('+timeout') " should a timeout be applied to keys and mappings? " 'timeout'

Re: Alt key mapping: "set " works in Normal/Command mode, but not in Insert mode

2017-04-05 Thread Jacky Liu
My Vim version is 8.0.540 if it helps -- -- 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 --- You received this message because you are subscribed to the

Alt key mapping: "set " works in Normal/Command mode, but not in Insert mode

2017-04-05 Thread Jacky Liu
I am switching back to console Vim because it solved the No.1 problem of Gvim: it doesn't allow another thread to start a X based graphical UI, as it will clash with the one of its own. Also it now supports true color and is much faster in responding user ops. Unfortunately I bumped into the