mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
List available user-scripts
This commit is contained in:
parent
6c6bbce5a4
commit
d5245ac5ec
15
README.md
15
README.md
|
@ -61,6 +61,7 @@ It runs on Linux, macOS, Raspberry Pi, BSD, Cygwin, Linux subsystem for Windows
|
||||||
- [Configuration](#configuration)
|
- [Configuration](#configuration)
|
||||||
- [Help](#help)
|
- [Help](#help)
|
||||||
- [Quickstart](#quickstart)
|
- [Quickstart](#quickstart)
|
||||||
|
- [User scripts](#user-scripts)
|
||||||
- [Troubleshooting](#troubleshooting)
|
- [Troubleshooting](#troubleshooting)
|
||||||
- [Tmux configuration](#tmux-configuration)
|
- [Tmux configuration](#tmux-configuration)
|
||||||
- [BSD terminal issue](#bsd-terminal-issue)
|
- [BSD terminal issue](#bsd-terminal-issue)
|
||||||
|
@ -401,6 +402,20 @@ To lookup keyboard shortcuts at runtime, press <kbd>?</kbd>.
|
||||||
- For additional functionality [setup custom scripts](https://github.com/jarun/nnn/wiki/How-to#run-custom-scripts).
|
- For additional functionality [setup custom scripts](https://github.com/jarun/nnn/wiki/How-to#run-custom-scripts).
|
||||||
- Visit the [How to](https://github.com/jarun/nnn/wiki/How-to) for many more specific usecases.
|
- Visit the [How to](https://github.com/jarun/nnn/wiki/How-to) for many more specific usecases.
|
||||||
|
|
||||||
|
#### USER SCRIPTS
|
||||||
|
|
||||||
|
The following [user-scripts](https://github.com/jarun/nnn/tree/master/user-scripts) are available.
|
||||||
|
|
||||||
|
| Script | Description |
|
||||||
|
| --- | --- |
|
||||||
|
| copier.sh | Copy selection to clipboard |
|
||||||
|
| edit.sh | Fuzzy find a file in directory subtree with fzy and edit in vim |
|
||||||
|
| fzy.sh | Fuzzy find a file in directory subtree with fzy and open using xdg-open |
|
||||||
|
| imgur.sh | Upload an image file to imgur |
|
||||||
|
| picker.sh | Pick files and pipe the newline-separated list to another utility |
|
||||||
|
| sxiv.sh | Open images in current directory in sxiv |
|
||||||
|
| upgrade.sh | Check and update to latest version of nnn manually on Debian 9 Stretch |
|
||||||
|
|
||||||
#### TROUBLESHOOTING
|
#### TROUBLESHOOTING
|
||||||
|
|
||||||
##### Tmux configuration
|
##### Tmux configuration
|
||||||
|
|
|
@ -3,6 +3,9 @@
|
||||||
# https://imgur.com/tools
|
# https://imgur.com/tools
|
||||||
#
|
#
|
||||||
# Slightly modified for `nnn` integration
|
# Slightly modified for `nnn` integration
|
||||||
|
#
|
||||||
|
# Shell: bash
|
||||||
|
# Description: Upload an image file to imgur
|
||||||
|
|
||||||
if [ "${1}" = "--debug" ]; then
|
if [ "${1}" = "--debug" ]; then
|
||||||
echo "########################################"
|
echo "########################################"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
# Description: Pick files and pipe the line-separated list to another utility
|
# Description: Pick files and pipe the newline-separated list to another utility
|
||||||
#
|
#
|
||||||
# Shell: generic
|
# Shell: generic
|
||||||
# Author: Arun Prakash Jana
|
# Author: Arun Prakash Jana
|
||||||
|
|
Loading…
Reference in a new issue