aboutsummaryrefslogtreecommitdiffstats
path: root/misc/auto-completion/fish
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-17 19:06:42 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-17 19:37:57 +0530
commit64667b377d132cd915d128d91c2ab7b38c1ba683 (patch)
tree97a51406471052e9d91969fc9dfcfce6533b3283 /misc/auto-completion/fish
parent94a233b808e039d1a17aab4e12f1b1fb13302d54 (diff)
downloadnnn-64667b377d132cd915d128d91c2ab7b38c1ba683.tar.gz
Options -e and -t
Replaces the following environment variables: - NNN_USE_EDITOR - NNN_IDLE_TIMEOUT
Diffstat (limited to 'misc/auto-completion/fish')
-rw-r--r--misc/auto-completion/fish/nnn.fish2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/auto-completion/fish/nnn.fish b/misc/auto-completion/fish/nnn.fish
index 9358882..99c857a 100644
--- a/misc/auto-completion/fish/nnn.fish
+++ b/misc/auto-completion/fish/nnn.fish
@@ -16,6 +16,7 @@ complete -c nnn -s A -d 'disable dir auto-select'
complete -c nnn -s b -r -d 'bookmark key to open' -x -a '(echo $NNN_BMS | awk -F: -v RS=\; \'{print $1"\t"$2}\')'
complete -c nnn -s c -d 'cli-only opener'
complete -c nnn -s d -d 'start in detail mode'
+complete -c nnn -s e -d 'open text files in $VISUAL/$EDITOR/vi'
complete -c nnn -s E -d 'use EDITOR for undetached edits'
complete -c nnn -s g -d 'regex filters'
complete -c nnn -s H -d 'show hidden files'
@@ -28,6 +29,7 @@ complete -c nnn -s r -d 'show cp, mv progress (Linux-only)'
complete -c nnn -s R -d 'disable rollover at edges'
complete -c nnn -s s -r -d 'load session by name' -x -a '@\t"last session" (ls $sessions_dir)'
complete -c nnn -s S -d 'start in disk usage analyzer mode'
+complete -c nnn -s t -r -d 'timeout in seconds to lock'
complete -c nnn -s v -d 'use version compare to sort files'
complete -c nnn -s V -d 'show program version and exit'
complete -c nnn -s x -d 'notis, sel to system clipboard'