2017-07-06 18:02 GMT+03:00 Linwei <[email protected]>:
> Controlling what terminal sends is out of Vim responsibility most of time,
> not possible sometimes.
>
> I can control the terminal emulator to send <BS> as ^?, for the purpose of
> remapping <c-h> to something new in vim, and after the remapping I can still
> use <BS> to delete last character.
>
> In short:
>
> All the other platforms
> If I remap <c-h> to <left>, my <BS> is not changed, I can still use <BS> to
> delete last character.
>
> Windows console (vim.exe):
> If I remap <c-h> to <left>, my <BS> become <left> too. I can't use my <bs>
> to delete last character now.
>
> And <BS> and <c-h> is totally under Vim's control on windows console. And
> confusing these two keys on windows is exactly Vim's responsibility .

`vim.exe` does not have any embedded terminal emulator, it uses
system’s so it is not a Vim’s responsibitily unless you want to tell
(with MSDN link) that there actually *is* a way to do what you
request.

In any case I would suggest to just install cygwin and use Vim from there.

>
> The limitation of VT100 has already gone away today, why are we still
> confine people to remap their on windows console ? Can I bind it to
> something else I like without destroying my on windows console ? just like
> what I do in GVim or terminal vim.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
>
> --
> --
> 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/d/optout.

-- 
-- 
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/d/optout.

Raspunde prin e-mail lui