Comments (7)
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.
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.
Ah right I'll fix that.
from vimpager.
Great! Thanks!
from vimpager.
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.
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.
Wonderful, thank you for testing.
from vimpager.
Related Issues (20)
- vimcat of a directory will freeze the process HOT 1
- vimcat: do not stream small files
- plays very poorly with python helptext HOT 1
- system clipboard is clobbered HOT 10
- folding support
- Issues with vimcat as a preprocessor HOT 6
- search gets stuck (must move cursor manually for 'n' to work) HOT 3
- Disable specific mapping HOT 2
- Failed in make install-deb HOT 1
- vimcat hangs without any output
- Ctrl+F creates an empty file
- Inconsistent behavior of `d` key when scrolling
- "Option not supported" when paging the contents of Kitty buffer HOT 5
- vimpager breaks with vim 9 HOT 16
- "git diff" freezes under zsh on macOS 13.0.x HOT 1
- Weird behaviour when scrolling horizontal in "git diff" HOT 1
- Vimcat syntax highlighting doesn't seem to work with Lua coloschemes
- Feature Request: Please add a flag to force syntax highlighting. HOT 1
- unicode characters at end of line defect in vimcat
- Add new flag for specifying language
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vimpager.