tto / docs / macos / iterm and vscode

vscode enable copy on select

open settings with ⌘ + , and search for terminal.integrated.copyOnSelection. enable. enjoy.

install iterm2

use [brew]

iterm2 set pwsh as default

Open settings with ⌘ + , under profiles select default profile and change command to custom shell:

/usr/local/bin/pwsh

iterm2 skip word backwards and forwards with ⌥ + ← and ⌥ + →

In iTerm2 go to Preferences > Profile > Keys > Key mappings.

Find the shortcut for ⌥ + ← and update with the following settings:

Find the shortcut for ⌥ + → and update with the following settings:

Add a new shortcut for ⌥ + backspace with the following settings: