mirror of
https://github.com/jarun/nnn.git
synced 2024-11-18 17:09:14 +00:00
Diff viewer script using vimdiff
This commit is contained in:
parent
10c8344fbd
commit
20321695cc
|
@ -7,7 +7,8 @@
|
||||||
| fzy | Fuzzy find a file in directory subtree with fzy and open using xdg-open |
|
| fzy | Fuzzy find a file in directory subtree with fzy and open using xdg-open |
|
||||||
| imgur | Upload an image file to imgur |
|
| imgur | Upload an image file to imgur |
|
||||||
| kdeconnect | Send selected files to Android device using kdeconnect-cli |
|
| kdeconnect | Send selected files to Android device using kdeconnect-cli |
|
||||||
| nlaunch | drop-down app launcher (needs fzy), drop in `$PATH`; fallback regular prompt |
|
| ndiff | File and directory diff for selection using vimdiff |
|
||||||
|
| nlaunch | Drop-down app launcher (needs fzy), drop in `$PATH`; fallback regular prompt |
|
||||||
| picker | Pick files and pipe the newline-separated list to another utility |
|
| picker | Pick files and pipe the newline-separated list to another utility |
|
||||||
| sxiv | Open images in current directory in sxiv |
|
| sxiv | Open images in current directory in sxiv |
|
||||||
| upgrade | Check and update to latest version of nnn manually on Debian 9 Stretch |
|
| upgrade | Check and update to latest version of nnn manually on Debian 9 Stretch |
|
||||||
|
|
8
user-scripts/ndiff
Executable file
8
user-scripts/ndiff
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
# Description: File and directory diff using vimdiff
|
||||||
|
#
|
||||||
|
# Shell: POSIX compliant
|
||||||
|
# Author: Arun Prakash Jana
|
||||||
|
|
||||||
|
vimdiff $(cat ~/.nnncp | tr '\0' '\n')
|
Loading…
Reference in a new issue