When pasting text containing tabs into a terminal window, iTerm2 (version 3) asked if I wanted to change the tabs into spaces. I agreed and set that as the default. Now, I need iTerm2 to stop converting the tabs into spaces. How do I do this?
I've looked through the preferences and hidden settings but couldn't find anything obvious. Even the preference to suppress the prompt t convert tabs to spaces is set to "No".
You can use arrow keys and enter to make a selection, or you can click on an item to choose it, and it will be pasted. If you enable the Save copy/pate history to disk preference then these values will persist across sessions of iTerm2. Resets the internal state of the emulator and clears the screen.
All iTerm2 tabs will be shown tiled on the main screen. You can mouse over a tab to see it larger, and clicking on it will restore the windows and select that tab and bring its window to the front.
Quite a bit of customization is also possible by writing shell scripts. iTerm2 has sophisticated Applescript support allowing one to write stand-alone scripts to launch the application and open multiple sessions with profiles into either new tabs or new windows.
All iTerm2 tabs will be shown tiled on the main screen. You can mouse over a tab to see it larger, and clicking on it will restore the windows and select that tab and bring its window to the front. You can search the contents of all tabs by typing in the search field that appears on the left.
Use
defaults write com.googlecode.iterm2 AboutToPasteTabsWithCancel 0
to disable the feature.
Preferences -> Advanced -> "Suppress warning about pasting tabs with offer to convert them to spaces".
Enable that to "No" and it will popup again, allowing you to change it (and store if preferred).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With