FG
💻 Software

How do I map <cmd>-<shift>-f to run Ack plugin in Vim?

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

Problem

I'm new to vim and I'm trying to map a key combo for running the Ack plugin found here: https://github.com/mileszs/ack.vim I want to map to run the Ack command . I've added the following to It doesn't work. What am I doing wrong? I'm using vim 7.3 within iTerm 2 on MacOS X.

Error Output

nmap <D-F> :Ack<space>

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I map <cmd>-<shift>-f to run Ack plugin in Vim?

Low Risk

The problem is that within <...> notation mappings, case is (mostly) insensitive, so you have to explicitly state you want to map with the shift key. Try this:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment