FG

How can I check if the current shell is being used from vim?

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

Problem

I am running OS X. On vim, if you do the command, you can drop to a shell to execute commands. I constantly forget whether I am in this shell or not. Is there any way to check if I am in the shell coming from vim?

Error Output

:sh

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I check if the current shell is being used from vim?

Low Risk

lists environment variables that vim passes to your shell. I doubt is defined if you haven't started your shell from vim.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment