Benches macOS

3

How to type "tab" character in terminal?

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hi,

In the terminal, I would like to be able to simply type a literal "tab" character. I know, by default, the tab key is used for auto-completion based on file system (I would like to keep it that way).

I tried several things, nothing seems to work for me:

- Copy-paste an existing tab character within the terminal

- Add keyboard shortcut in the Terminal preferences > Settings > Keyboard (/011)

- Insert 'LINE TABULATION' character from the Terminal > Edit > Special Characters... window

Hopefully, someone has done this before?

3 replies

Sign in or join Beachball Help to reply.

  1. 0

    hungryjoe

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    You can type any character that has a special meaning in the terminal by preceding it with ^V. So to type a tab character, just type ^V followed by the tab.

  2. 0

    hungryjoe

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    You can type any character that has a special meaning in the terminal by preceding it with ^V. So to type a tab character, just type ^V followed by the tab.

  3. 0

    X-Lars

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Indeed, that works. Thanks, hungryjoe!