Iterm show hidden files9/3/2023 ![]() To tweak tab sizes: defaults write 2 UseUnevenTabs -bool falseĭefaults write 2 MinTabWidth -int 75ĭefaults write 2 MinCompactTabWidth -int 60ĭefaults write 2 OptimumTabWidth -int 175 To change the set of characters that are considered part of a URL (besides alphanumerics): defaults write URLCharacterSet -string use some experimental optimizations that will improve performance (safety not guaranteed): defaults write ExperimentalOptimizationsEnabled \ To allow a three-finger tap to act like a three-finger click: defaults write ThreeFingerTapEmulatesThreeFingerClick \ 0 means always trigger, 1 means never trigger. If the brightness difference is below a threshold then the B/W text mode is triggered. SmartCursorColorFgThreshold: The cursor's text is forced to black or white if it is too similar to the background. This is the difference threshold that triggers that change. ![]() SmartCursorColorBgThreshold: If the cursor's background color is too close to nearby background colors, force it to the "most different" color. To tune smart cursor color settings: defaults write SmartCursorColorBgThreshold -float 0.5ĭefaults write SmartCursorColorFgThreshold -float 0.75 To allow Growl notifications to be posted for the current tab: defaults write 2 GrowlOnForegroundTabs -bool true To keep LC_CTYPE from being set when locale environment variables are set: defaults write 2 DoNotSetCtype -bool true To disable using the pinch gesture to change font size: defaults write 2 PinchToChangeFontSizeDisabled -bool true To change the speed that "paste slowly" pastes at: defaults write 2 SlowPasteBytesPerCall -int 16ĭefaults write 2 SlowPasteDelayBetweenCalls -float 0.125 To change the speed that "paste" pastes at: defaults write 2 QuickPasteBytesPerCall -int 1024ĭefaults write 2 QuickPasteDelayBetweenCalls -float 0.01 There is a delay between the transmission of each chunk. Pastes (both regular and slow) are done by splitting the text to paste into chunks. To change the number of paste history entries saved: defaults write 2 MaxPasteHistoryEntries -int 20 defaults write 2 UpdateScreenParamsDelay -float 1.0 If iTerm2 isn't handling this well, you can increase the delay before it attempts to reconfigure itself after a change of monitors. When an external monitor is connected, sometimes it needs a few seconds to be recognized by the system. To change the time of this safety valve: defaults write 2 MinRunningTime -float 10.0 To prevent this issue, there is a 10-second safety valve during which iTerm2 won't quit automatically when the last session is closed. If something is broken (like a bad command set in the default profile), it's possible for a session to start and end almost immediately, causing iTerm2 to quit very soon after launch and not giving you time to fix the problem. You can configure iTerm2 to quit when the last session is closed, and you can also configure sessions to close automatically when they end. You can change this with: defaults write 2 OpenFileInNewWindows -bool true When you open a file from the finder in iTerm2 (e.g., by double-clicking a shell script), it will either open in a window or a tab. ![]() To preserve whitespace in selections copied to the pasteboard: defaults write 2 TrimWhitespaceOnCopy -bool false To change the number of coprocess commands remembered: defaults write 2 "Coprocess MRU" -int 10 To change the number of entries in the autocomplete menu: defaults write 2 AutocompleteMaxOptions -int 10 However, you can use the "defaults" command to change them. (If you have a file name with spaces, you need to put the name in quotes: "For Example.txt".) If you had a file here named MyFile.There are a few settings that you cannot access via iTerm2's own Preferences panel. To delete a file, type rm filename, replacing filename with the actual name of the file you want to delete. After you launch Terminal (in your /Applications/Utilities folder) type cd ~/Desktop to navigate to the Desktop directory. It’s dangerously easy to delete files with the rm command. If you’ve lost access to the Finder because your Mac is on the blink, you might be able to use the command line to troubleshoot the problem.These files, which can contain settings for certain apps or parts of macOS, contain a dot (.) before their names and the Finder doesn’t show them. ![]() You can delete files that are hidden in the Finder.You can remove files from the Trash when you encounter stubborn errors.You can use wildcards to delete multiple files quickly and efficiently.So why bother using the command line? Here are some reasons: Why bother deleting files with the command line?ĭeleting files with the Finder isn’t too difficult, plus you can always fish files out of the Trash if you change your mind. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |