Giter VIP home page Giter VIP logo

Comments (3)

kassio avatar kassio commented on May 30, 2024

I asked for some of my friends, and none of them use their editor in another folder than the project root. Neither me.

What you can do is use binstubs on your rails project, and then change your g:neoterm_rspec_lib_cmd to something like g:neoterm_rspec_lib_cmd="$MY_PROJECT_PATH/bin/rspec", and it should work.

from neoterm.

kevinjalbert avatar kevinjalbert commented on May 30, 2024

@kassio so I figured out that when using vim-startify if I immediately select a file directly even if I'm in the root of the project, it'll change my working directory to that of the file regardless. This is where I was seeing issues on how neoterm was always running from the file's location.

Knowing that issue, I can work around it so that my working directory is always the root (which is normally where I start my editor session.

Just curious, but I see that you are suggesting the use of the $MY_PROJECT_PATH ENV variable. I'm curious on how you would set that for each different project dynamically?

from neoterm.

kassio avatar kassio commented on May 30, 2024

@kevinjalbert actually I wouldn't. 😄 But if you want, you can override cd function, for example, and set the variable on every cd. Or use something like $PROMPT_COMMAND on bash.

from neoterm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.