Sunday, June 3, 2018

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

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).

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: