skywind3000 / vim-terminal-help

Small changes make vim/nvim's internal terminal great again !!
MIT License
246 stars 32 forks source link

replace the last char of the current line each time open a file #28

Closed roachsinai closed 3 years ago

roachsinai commented 4 years ago

使用xfce-terminal打开文件的时候光标所在行的最后一个字符被替换为0

Screen Capture_select-area_20201015010357

操作系统:Manjaro Linux 桌面:Xfce

roachsinai commented 4 years ago

根据 https://github.com/vim/vim/issues/7135 Set 会导致问题:

P is the prefix for the terminal version escape code. If you map it, then the rest of that escaped code will remain and be the next input. The only solution is: Don't map that.

建议韦大取消 <M-P> 键的映射。

roachsinai commented 4 years ago

15 #25 可能是同样的原因。