nanotee / zoxide.vim Goto Github PK
View Code? Open in Web Editor NEWA small (Neo)Vim wrapper for zoxide
License: MIT License
A small (Neo)Vim wrapper for zoxide
License: MIT License
fish: Unknown command: \command
fish:
\command .........
^~~~~~~~^
here is the video recording for the error what is happening as it is hard to explain
In terminal ,If I do z folder1
and then do z folder2
and then to go back to previous folder I can just do z -
. So z -
takes me to folder1 .But that is not the case in zoxide.vim
plugin. When i do :Z -
it justs searches the folder with - in the folder name.
I have no User ZoxideDirChanged configured in my system, so every time I execute "Z", I get an error:
No matching autocommands: User ZoxideDirChanged
This can be fixed by (I think, not a lot of testing done) by prefixing doautocmd
with silent
:
zoxide.vim/autoload/zoxide.vim
Line 21 in e50df0b
In my windows configuration I use use git bash, which provides bash.exe
. In neovim I have set vim.opt.shell = "bash"
. With this configuration the Z
command doesn't work and gives error: bash: /s: No such file or directory
. The Zi command works.
OS: windows 11
NVIM v0.10.0
Steps:
powershell
or pwsh
as your shell
.:Z
The error in Powershell:
At line:1 char:10
+ "zoxide" "add" "."
+ ~~~~~
Unexpected token '"add"' in expression or statement.
At line:1 char:16
+ "zoxide" "add" "."
+ ~~~
Unexpected token '"."' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken
The error in Powershell Core (pwsh
):
^[[91mParserError:
^[[96mLine |
^[[96m 1 | ^[[0m "zoxide" ^[[96m"add"^[[0m "."
^[[96m | ^[[91m ~~~~~
^[[91m^[[96m | ^[[91mUnexpected token '"add"' in expression or statement.
^[[0m
Hello!
Unfortunately, I can't get zoxide_prefix to work. I try to change it via :let g:zoxide_prefix="jump"
but it is not applied: "E492: Not an editor command: Jump"
Thanks for you plugin! Hope you can help me resolve this issue.
I would like to use telescope instead of fzf. Is there any way?
what I mean by the title:
when I run :Z
I get taken to home directory just fine
when I run :Z -
I get taken to previous directory just fine
when I run :Zi
(or Lzi or similar) I get taken to fzf'd directory just fine
however, if I run :Z {query}
, nothing happens and i get the error:
error: Found argument '--exclude' which wasn't expected, or isn't valid in this context
USAGE:
zoxide query [FLAGS] [keybwords]...
For more information try --help
this also happens with :Lz
or similar.
system info:
using Packer
$ zoxide --version
zoxide v0.4.3-unknown
:version
NVIM v0.7.2
Build type: Release
LuaJIT 2.1.0-beta13
on debian 12
hey i was using zoxide lately for my terminal navigation and it seems awsom i have alias it to the cd ( eval "$(zoxide init --cmd cd fish | source)" ) using this i use fish btw
i installed the zoxide.vim and it uses :Z as it command is there a way to do the same :Z -> :cd
it will be really awsome
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.