Le 04/06/2018 à 16:23, Christian Brabandt a écrit :
>
> On Mo, 04 Jun 2018, phkbphkbphkb wrote:
>
>> Hi,
>>
>> I'm not sure if it is a bug in vim, but Shift-Tab is not working on my
>> machine. For example, it clears the line in command mode instead of getting
>> back to the previous completion.
>>
>> I solved the problem using the following workaround (from
>>
http://vim.wikia.com/wiki/Make_Shift-Tab_work):
>>
>> :exe 'set t_kB=' . nr2char(27) . '[Z'
>>
>> So the problem is that t_kB is not set by default.
>>
>> I think it is related to the terminal used, because t_kB is not set on st
>> (
https://st.suckless.org/) but is set on tmux (which has a different $TERM).
>
> And what is the value of $TERM and the option value of echo &term?
>
> Best,
> Christian
>
set. This confirms that the bug only happens with TERM=st-256color.