-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Param tags doc #402
base: main
Are you sure you want to change the base?
Param tags doc #402
Conversation
@@ -873,6 +929,12 @@ Following commands are passed to `zinit ...` to obtain described effects. | |||
| `module` | <div align="justify" style="text-align: justify;"> Manage binary Zsh module shipped with Zinit, see `zinit module help`.</div> | | |||
| `add-fpath\|fpath` `[-f\|--front]` `{plg-spec}` `[subdirectory]` | <div align="justify" style="text-align: justify;">Adds given plugin (not yet snippet) directory to `$fpath`. If the second argument is given, it is appended to the directory path. If the option `-f`/`--front` is given, the directory path is prepended instead of appended to `$fpath`. The `{plg-spec}` can be absolute path, i.e.: it's possible to also add regular directories.</div> | | |||
| `run` `[-l]` `[plugin]` `{command}` | <div align="justify" style="text-align: justify;">Runs the given command in the given plugin's directory. If the option `-l` will be given then the plugin should be skipped – the option will cause the previous plugin to be reused.</div> | | |||
## An embedded TAGS browser | |||
|
|||
Zinit comes via an embedded Ctags browser. Just create a `TAGS` file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are actually CTags and why would I want this feature??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ctags creates index of source code and allows jumping to symbols. The support in zinit is a under prompt popup menu that allows direct from shell opening $EDITOR on the symbol. The feature in merged the new PR is doc only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jankatins Here's a presentation video: https://asciinema.org/a/zdUpv3oLUU2uEiCHRCEcRS2yr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woah, the functionality to pop into a function like that is cool
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a docs only PR, could it be merged?
d319676
to
c352bad
Compare
Please rebase your branch. |
c352bad
to
e3f731a
Compare
e3f731a
to
f31b9b1
Compare
@vladdoster: I've rebased and fixed conflicts, please merge. |
Description
Document
param'var→val'
ice, alt-shift-q tags browser and also improve it.Motivation and Context
I've recalled some undocumented features.
Types of changes
Checklist: