Skip to content

Commit 60718c7

Browse files
committed
Add tips of the day for 3.5
1 parent 6a77223 commit 60718c7

File tree

1 file changed

+146
-5
lines changed

1 file changed

+146
-5
lines changed

utilities/it2tip

Lines changed: 146 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ tips = [
5050
"url": "https://iterm2.com/captured_output.html"
5151
},
5252
{
53-
"title": "Badges",
54-
"body": "You can display a status message in the top right of your session in the background. It’s called a “Badge.” If you install Shell Integration you can include info like user name, hostname, current directory, and more.",
55-
"url": "https://iterm2.com/badges.html"
56-
},
53+
"title": "Badges",
54+
"body": "You can display a status message in the top right of your session in the background. It’s called a “Badge.” If you install Shell Integration you can include info like user name, hostname, current directory, and more.",
55+
"url": "https://iterm2.com/badges.html"
56+
},
5757
{
5858
"title": "Dynamic Profiles",
5959
"body": "Dynamic Profiles let you store your profiles as one or more JSON files. It’s great for batch creating and editing profiles.",
@@ -357,6 +357,147 @@ tips = [
357357
"title": "Composer Power Features",
358358
"body": "The composer supports multiple cursors. It also has the ability to send just one command out of a list, making it easy to walk through a list of commands one-by-one. Click the help button in the composer for details."
359359
},
360+
361+
{ "title": "Render Selection",
362+
"body": "Transform selected text into a prettified, syntax-highlighted view with the “Render Selection” command, ideal for JSON, Markdown, or source code. This feature includes horizontal scrolling for easy log navigation."
363+
},
364+
365+
{ "title": "SSH Integration",
366+
"body": "Export environment variables and copy files to remote hosts seamlessly with SSH integration. Either configure a profile to use ssh or use it2ssh in place of ssh."
367+
},
368+
369+
{ "title": "Auto Composer",
370+
"body": "Improve your command line with the “auto composer”, which replaces the command line with a native control for ease of use. Requires shell integration."
371+
},
372+
373+
{ "title": "AI Command Writing",
374+
"body": "Generate commands using AI by entering a prompt in the composer and selecting “Edit > Engage Artificial Intelligence”. An OpenAI API key is required for this functionality."
375+
},
376+
377+
{ "title": "Codecierge Tool",
378+
"body": "Set and achieve terminal goals with “Codecierge”, a Toolbelt feature that guides you step-by-step based on your terminal activity. An OpenAI API key is necessary for this feature."
379+
},
380+
381+
{ "title": "Named Marks",
382+
"body": "Navigate your command history effortlessly with “named marks” by assigning names to lines in the terminal."
383+
},
384+
385+
{ "title": "Font Assignments",
386+
"body": "You can assign specific fonts to Unicode ranges. Use 'Settings > Profiles > Text > Manage Special Exceptions' to manage it and to install a huge set of Powerline symbols."
387+
},
388+
389+
{ "title": "Disable Transparency",
390+
"body": "Maintain clarity in your active window while enjoying transparency in background windows by using 'View > Disable transparency in key window'."
391+
},
392+
393+
{ "title": "Leader Shortcut",
394+
"body": "Create two-keystroke shortcuts with a “leader”: a special keystroke that precedes a custom key binding."
395+
},
396+
397+
{ "title": "Sequence Binding",
398+
"body": "Execute a series of actions in order with a single shortcut using “sequence” key bindings."
399+
},
400+
401+
{ "title": "Export/Import Settings",
402+
"body": "Easily backup or transfer your iTerm2 settings using the Export/Import feature in “Settings > General > Preferences”."
403+
},
404+
405+
{ "title": "Multi-Session Bindings",
406+
"body": "Apply key bindings uniformly across multiple sessions for consistent control in different tabs or windows."
407+
},
408+
409+
{ "title": "Inject Trigger",
410+
"body": "Simulate terminal input as if it were output from a running app with the “Inject” trigger."
411+
},
412+
413+
{ "title": "Trigger Status Bar",
414+
"body": "Easily manage your triggers using the new Triggers status bar component."
415+
},
416+
417+
{ "title": "Session Size in Tab",
418+
"body": "Display session size directly in tab titles for convenient at-a-glance information."
419+
},
420+
421+
{ "title": "Advanced Snippet Editing",
422+
"body": "Edit snippets in Advanced Paste by holding the ⌥ key, or open them in the composer with ⇧."
423+
},
424+
425+
{ "title": "HTML Logs",
426+
"body": "Save your terminal logs in HTML format for enhanced readability and sharing capabilities."
427+
},
428+
429+
{ "title": "ASCIICast Logs",
430+
"body": "Create and play back terminal recordings with ASCIICast logs, compatible with asciinema."
431+
},
432+
433+
{ "title": "Timestamped Logs",
434+
"body": "Include timestamps in your logs for better tracking and event correlation."
435+
},
436+
437+
{ "title": "LastPass & 1Password",
438+
"body": "Utilize LastPass or 1Password with the password manager by configuring it in the menu next to the search field."
439+
},
440+
441+
{ "title": "Password Manager Access",
442+
"body": "Access your password manager without authentication by adjusting the settings via the menu next to its search field."
443+
},
444+
445+
{ "title": "Password Generation",
446+
"body": "Generate strong, secure passwords using the password manager’s new password generation feature."
447+
},
448+
449+
{ "title": "it2tip Utility",
450+
"body": "Access tips of the day with the it2tip utility, a command line app. Enable it by installing shell integration and utilities."
451+
},
452+
453+
{ "title": "Auto Shell Integration",
454+
"body": "Experience automatic shell integration when creating a login shell, removing the need for explicit setup on your Mac."
455+
},
456+
457+
{ "title": "Command Prompt Info",
458+
"body": "Get detailed information about commands by ⌘-clicking on the command prompt."
459+
},
460+
461+
{ "title": "tmux Integration",
462+
"body": "Use tmux integration for automatic key bindings that emulate tmux’s shortcuts, configurable via the Leader settings."
463+
},
464+
465+
{ "title": "tmux Clipboard Mirroring",
466+
"body": "Sync your tmux paste buffer with the local clipboard for seamless integration (requires tmux 3.4)."
467+
},
468+
469+
{ "title": "Multi-Cursor in Composer",
470+
"body": "Enhance your editing in the Composer with multiple cursors, created using ^⇧-up/down or ⌥-drag."
471+
},
472+
473+
{ "title": "Advanced Paste from Composer",
474+
"body": "Move content from the Composer to the Advanced Paste window with ⌥⌘V for additional editing options."
475+
},
476+
477+
{ "title": "Composer Search",
478+
"body": "Search within the Composer using ⌘F to quickly find specific text."
479+
},
480+
481+
{ "title": "Resize Composer",
482+
"body": "Adjust the Composer’s height to suit your needs by dragging its bottom edge."
483+
},
484+
485+
{ "title": "Explain Command",
486+
"body": "Learn more about your commands by ⌘-clicking in the Composer to open them in explainshell.com."
487+
},
488+
489+
{ "title": "Quick Command Send",
490+
"body": "Quickly send and remove commands in the Composer using ⌥⇧-enter."
491+
},
492+
493+
{ "title": "Queue Commands",
494+
"body": "Queue up a command in the Composer to be sent after the current command finishes with ⌥-Enter."
495+
},
496+
497+
{ "title": "Draggable Tip Window",
498+
"body": "Reposition the Tip of the Day window conveniently on your screen, as it is now draggable."
499+
},
500+
360501
]
361502

362503

@@ -393,7 +534,7 @@ def print_tip(i):
393534

394535
def save_index(i):
395536
with open(RCFILE, "w") as f:
396-
f.write(str(i))
537+
f.write(str(i))
397538

398539
i = last_index() + 1
399540
if i >= len(tips) and len(sys.argv) > 1 and sys.argv[1] == "-w":

0 commit comments

Comments
 (0)