nnn/plugins/ndiff

9 lines
169 B
Bash
Executable File

#!/usr/bin/env sh
# Description: Show diff using vimdiff
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
vimdiff $(cat ~/.config/nnn/.selection | tr '\0' '\n')