Monday, June 4, 2018

Re: t_kB (shift tab) is not set when using st terminal

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
>

$TERM and echo &term are both st-256color.

Also I tested with "TERM=xterm vim" (but actually in st) and t_kB is
set. This confirms that the bug only happens with TERM=st-256color.

Best regards,
François-Xavier Carton

--
--
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 Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: