vifon / deer Goto Github PK
View Code? Open in Web Editor NEWranger-like file navigation for zsh
ranger-like file navigation for zsh
deer
seems to require a Python installation specifically named python2
:
deer-get-relative:4: command not found: python2
On OS X, the default Python install (2.7.10 as of El Capitan) is not version-suffixed (that is, the binary is just python
), and there's no symlink. Homebrew installs a suffixed python3
, but is also ignored.
Perhaps have it fall-back to simply python
, if python2
is unavailable?
_zsh_autosuggest_invoke_original_widget:9: deer: function definition file not found
It would be great if this could complete partially typed paths, ie. if I type cat /ect<alt-k>
it would open deer in /etc
.
~/.zplug/bin/deer: line 20: zstyle: command not found
~/.zplug/bin/deer: line 23: typeset: -A: invalid option
typeset: usage: typeset [-afFirtx] [-p] name[=value] ...
~/.zplug/bin/deer: line 24: syntax error near unexpected token `('
~/.zplug/bin/deer: line 24: `function ()'
After activating deer, only the /
and k
keybindings seem to work for me. Any idea how to troubleshoot this?
Hi. Could you please add an option to show hidden files by default?
Great plugin btw.
Cheers!
Is it because deer doesn't have the '.sh' file extension?
I added the lines in the antigen setup to my .zshrc, but couldn't bring up deer. If I manually source deer after the fact (omething like source ~/.antigen/repos/https-COLON--SLASH--SLASH-github.com-SLASH-Vifon-SLASH-deer.git/deer
), then it works.
Following other antigen bundles, I simply cp deer deer.sh
inside the antigen repo folder for deer. After that, everything seemed to work. Maybe antigen looks for '.sh' extensions when it is loading everything.
Just a feature request.
How to bind the C-u and C-d for page up and down?
Currently I have
DEER_KEYS[page_up]='^U'
DEER_KEYS[page_down]='^D'
But it's not working...
Thanks
So, I can't even get Zsh to source deer. I even tried changing it to executable, but no such look.
> ls -lAFh deer
-rwxr-xr-x 1 ec staff 13K Oct 18 15:01 deer*
> source ./deer
> echo $?
1
There's no error of any sort; I tried installing zshdb
and running it on ./deer
, but that's got no output of any sort, either. I'm not a Zsh master, and my configuration isn't very complex … but I get the same error under zsh -f
, so it's not that either.
(I'm running Zsh 5.1.1.)
I just installed the Fig plugin from the dashboard. Ran fig source
in a terminal and this is what I see:
> fig source
✅ Dotfiles sourced!
head: quit: No such file or directory
head: q: No such file or directory
head: append_path: No such file or directory
head: a: No such file or directory
head: append_abs_path: No such file or directory
head: A: No such file or directory
head: insert_path: No such file or directory
head: i: No such file or directory
head: insert_abs_path: No such file or directory
head: I: No such file or directory
head: multi_insert_dwim: No such file or directory
head: s: No such file or directory
head: multi_insert_abs: No such file or directory
head: S: No such file or directory
head: chdir: No such file or directory
head: c: No such file or directory
head: chdir_selected: No such file or directory
head: C: No such file or directory
head: rifle: No such file or directory
head: r: No such file or directory
head: edit: No such file or directory
head: e: No such file or directory
Same output appears if I run a new shell.
Tried to press Alt-k and nothing happens, but I guess the initialization fails so that's not surprising.
Running zsh 5.9 on a Mac. Not sure which other details might be useful, let me know.
Running on Cygwin, it costs me 2 seconds to move up and down by one item.
Could I have an option to disable the preview column (the 3rd column) ? to gain performance on Cygwin.
The invocation of awk on line 138:
| awk -vwidth=$COLUMNS '{print substr($0,1,width-1)}')"
doesn't seem to be compatible with the version of awk available on OS X (10.9). Adding a space after the -v seems to fix the problem. My reading of the posix spec is that including the space is correct.
It seems like given the other insert commands having absolute path variations, so should this one.
Hi,
Thanks for publishing deer, love the idea of having a lightweight ranger integrated in my zsh environment. Unfortunately, however, I get "Invalid or incomplete multibyte or wide character" warnings in directories with Japanese character file / folder names. Do you have any idea how to suppress this?
Thanks
Pressing r (using the default key bindings) on a text file outputs "Vim: Warning: Input is not from a terminal" before opening the file. Typing :q quits not only vim but also the terminal.
When trying to use deer I get this error message and the tool malfunctions. My grep options are set to GREP_OPTIONS=--color=auto -i -E
. Is that what's causing the issue?
Another feature request. Thanks!
Installed with antigen, generates error everytime I attempt to run the program.
deer-refresh:zle:58: can only be called from widget function
Not sure how to debug this error or provide more information than the above. Let me know if I can be of anymore assisstance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.