FG

Vim Hotkeys For Specific File

Fresh3 days ago
Mar 15, 20263210 views
Confidence Score0%
0%

Problem

Is it possible to set hotkey for specific file types in vim. For example, if I am editing a .java file, I'd like vim to run javac .java when I press 5. Is this possible?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Vim Hotkeys For Specific File

Low Risk

~/.vimrc More info about key mapping and external commands.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment