Git Product home page Git Product logo

Comments (7)

rkitover avatar rkitover commented on July 30, 2024

It just calls vim, which is found in your PATH.

You need to add ~/bin to your PATH in either ~/.bash_profile or ~/.bashrc.

For example:

export PATH=~/bin:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin

from vimpager.

mayersj1 avatar mayersj1 commented on July 30, 2024

I've already got my path set up that way to include ~/bin.

I think the issue is that on line 15 of vimpager (and line 13 of
vimcat), you reset the PATH variable to prepend the existing PATH value
with a number of other directories. This puts /usr/bin in the path
before ~/bin now, thus calling the wrong version of vim.
What I needed to do was modify both of these files to add ~/bin before
/usr/bin in the PATH definition to have vimpager / vimcat use the desired version of vim.

Thanks,

Steve

On 6 Apr 2014, at 21:45, Rafael Kitover wrote:

It just calls vim, which is found in your PATH.

You need to add ~/bin to your PATH in either ~/.bash_profile or
~/.bashrc.

For example:

export 
PATH=~/bin:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin

Reply to this email directly or view it on GitHub:
#77 (comment)

from vimpager.

rkitover avatar rkitover commented on July 30, 2024

Ah right I'll fix that.

from vimpager.

mayersj1 avatar mayersj1 commented on July 30, 2024

Great! Thanks!

from vimpager.

rkitover avatar rkitover commented on July 30, 2024

I put the $PATH at the beginning, which is what I thought I needed to do when I wrote this code, but for some reason forgot to fix.

Please try 1.8.8 and let me know if this works.

from vimpager.

mayersj1 avatar mayersj1 commented on July 30, 2024

Works great for me!

Thanks for the quick turnaround.

Steve

On 7 Apr 2014, at 11:17, Rafael Kitover wrote:

I put the $PATH at the beginning, which is what I thought I needed to
do when I wrote this code, but for some reason forgot to fix.

Please try 1.8.8 and let me know if this works.


Reply to this email directly or view it on GitHub:
#77 (comment)

from vimpager.

rkitover avatar rkitover commented on July 30, 2024

Wonderful, thank you for testing.

from vimpager.

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.