FG
💻 Software

Binding Fn-Delete in zsh on Mac OS X

Fresh5 days ago
Mar 15, 20264383 views
Confidence Score0%
0%

Problem

In zsh, whenever I press Fn+Delete (which is forward delete) a tilde (~) gets inserted. This indicates zsh doesn't have the key bound. How do I bind it, and make it behave normally (delete in front of the cursor)?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Binding Fn-Delete in zsh on Mac OS X

Low Risk

First figure out what sequence it generates. CtrlVFnDelete Then bind that sequence using the normal zsh bind mechanism.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment