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 7590233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:20:59+00:00 2026-05-30T20:20:59+00:00

Trying to run gvim 7.3 from the working directory (project location) seems impossible– it

  • 0

Trying to run gvim 7.3 from the working directory (project location) seems impossible– it defaults to the home directory which breaks my code browsing and pythoncomplete setup.

I’ve tried three approaches. First, calling gvim from the working directory:

cd /some/dir && gvim

Second, specifying a ‘cd’ command for gvim to execute

gvim -c 'cd /some/dir'

Third, telling it to open a particular file in that directory

gvim /some/dir/file.txt

In all cases, when i’m in gvim and type ‘:cd’ to see the current directory what I get is my $HOME directory. Vim, on the ether hand, starts up at the working directory.

Does anyone know if there’s a way around the problem or the reasoning behind this?

  • 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-05-30T20:21:01+00:00Added an answer on May 30, 2026 at 8:21 pm

    cd behaves differently in Windows and Unix system

    • On non-Unix systems: Print the current directory name.
    • On Unix systems: Change the current directory to the home directory.
    • Use :pwd to print the current directory on all systems.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying run a program from a qmake .pro file which modifies the
When trying to run an Eclipse Dynamic Web Project under a Tomcat setup using
I'm trying to run a batch file, as another user, from my web app.
Trying to run a simple svn list svn+ssh://... from within jenkins on os X,
Trying to run a C++ program , I get segmentation faults which appear to
When trying to run android application from eclipse console shows [2012-01-31 14:01:01 - Remix_6Dec11]
When trying to run my application on the emulator I get an error from
Trying to run some sql in a pl/sql procedure. Select field from schema.view; I
I´m trying to run an old .NET application from an ASP.NET website. After reading
Im trying to run the demo(firstlink) which can be found on the second link

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.