Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8254205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T01:06:47+00:00 2026-06-08T01:06:47+00:00

I recently added a script requiring vim-ruby, The question I have is similar to:

  • 0

I recently added a script requiring vim-ruby,

The question I have is similar to: how do I detect OS X in my .vimrc file, so certain configurations will only apply to OS X?

but perhaps there is a clean way to check (as I want to propagate the same .vimrc file across all OSes: Win7-64, Linux(RHEL/Ubuntu), Mac, etc.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T01:06:49+00:00Added an answer on June 8, 2026 at 1:06 am

    You can use has('ruby') in an if statement. Try :echo has('ruby') to see for yourself.

    As an addendum, this works for all “+features” listed in :version.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently added Android's LVL copy protection to my app, and the results have
I recently added these lines to my ~/.bashrc file to show the current branch
We recently added a new TeamCity build agent. Because it doesn't have ASP.NET MVC
I have recently added jQuery to a site of mine. When hovering over sections
Recently i have noticed some strange stuff. In every public JavaScript file on my
I'd like to have a recently viewed pages div filled by a javascript script
I recently added an extra authentication backend to allow users to login using either
I recently added a stored procedure to my SQL Azure database. I added that
I recently added Autofac 2.6.2 to one of my ASP.NET MVC projet. I'm facing
I recently added a feature to a large application written in Delphi (version 2009)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.