skywind3000 / skywind3000/z.lua

Add integrate to nnn

Open
#160 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
3.1k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

I have mad a pull request to add support of z.lua in nnn's plugin autojump: https://github.com/jarun/nnn/pull/1414.

I think is good to add the usage in z.lua's wiki, but I have no edit permisson, below is the content I want to add in FAQ blow the topic of integrate to ranger:

## How to integrate z.lua to [nnn](https://github.com/jarun/nnn) ?

The z.lua was integrated into the nnn's plugin autojump.

All you need to do is:

\`\`\`bash
export NNN_ZLUA="path to your z.lua script"
\`\`\`

so that, the plugin can know where to get the z.lua script to excute.

After that, you can enable plugin autojump in `$NNN_PLUG`.

And if `fzf` is installed, the plugin will use it for path selection which is copy from the `zii` function below this document.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Update the z.lua wiki FAQ below the existing ranger integration section. Start with the supplied Markdown and verify the nnn, NNN_ZLUA, NNN_PLUG, and fzf references; done means the integration instructions are published and clearly explain enabling the autojump plugin.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, lua
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.