When I use the Linux screen program, pressing the tab key will move between multiple screen windows. But when I want to press Tab to add blank space in a file using vim, it is useless, and will move to another screen. How can I use Tab with vim in screen?
EDIT: (taken from comments)
I have this keybinding in my .screenrc file:
escape ^Ii
And if I remove that, the Tab key works again.
The problem is your
escape ^Iientry in the.screenrcfile.In many/most terminal emulators,
^I(CtrlI) is the same key code as the Tab key (ASCII 0x11, aka "TAB" or "Horizontal Tab").So the only solution is to choose a different escape key for use in screen.