mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 13:26:37 +00:00
Detect key collisions: make clear everywhere that it exits afterwards.
This commit is contained in:
parent
23f8c37094
commit
78019a758e
|
@ -26,7 +26,7 @@ complete -c nnn -s g -d 'regex filters'
|
||||||
complete -c nnn -s H -d 'show hidden files'
|
complete -c nnn -s H -d 'show hidden files'
|
||||||
complete -c nnn -s i -d 'show current file info'
|
complete -c nnn -s i -d 'show current file info'
|
||||||
complete -c nnn -s J -d 'no auto-advance on selection'
|
complete -c nnn -s J -d 'no auto-advance on selection'
|
||||||
complete -c nnn -s K -d 'detect key collision'
|
complete -c nnn -s K -d 'detect key collision and exit'
|
||||||
complete -c nnn -s l -r -d 'lines to move per scroll'
|
complete -c nnn -s l -r -d 'lines to move per scroll'
|
||||||
complete -c nnn -s n -d 'start in type-to-nav mode'
|
complete -c nnn -s n -d 'start in type-to-nav mode'
|
||||||
complete -c nnn -s o -d 'open files only on Enter'
|
complete -c nnn -s o -d 'open files only on Enter'
|
||||||
|
|
|
@ -24,7 +24,7 @@ args=(
|
||||||
'(-H)-H[show hidden files]'
|
'(-H)-H[show hidden files]'
|
||||||
'(-i)-i[show current file info]'
|
'(-i)-i[show current file info]'
|
||||||
'(-J)-J[no auto-advance on selection]'
|
'(-J)-J[no auto-advance on selection]'
|
||||||
'(-K)-K[detect key collision]'
|
'(-K)-K[detect key collision and exit]'
|
||||||
'(-l)-l[lines to move per scroll]:val'
|
'(-l)-l[lines to move per scroll]:val'
|
||||||
'(-n)-n[start in type-to-nav mode]'
|
'(-n)-n[start in type-to-nav mode]'
|
||||||
'(-o)-o[open files only on Enter]'
|
'(-o)-o[open files only on Enter]'
|
||||||
|
|
2
nnn.1
2
nnn.1
|
@ -95,7 +95,7 @@ supports the following options:
|
||||||
(eg. selecting an entry will no longer move cursor to the next entry)
|
(eg. selecting an entry will no longer move cursor to the next entry)
|
||||||
.Pp
|
.Pp
|
||||||
.Fl K
|
.Fl K
|
||||||
test for keybind collision
|
test for keybind collision and exit
|
||||||
.Pp
|
.Pp
|
||||||
.Fl "l val"
|
.Fl "l val"
|
||||||
number of lines to move per mouse wheel scroll
|
number of lines to move per mouse wheel scroll
|
||||||
|
|
|
@ -8146,7 +8146,7 @@ static void usage(void)
|
||||||
" -H show hidden files\n"
|
" -H show hidden files\n"
|
||||||
" -i show current file info\n"
|
" -i show current file info\n"
|
||||||
" -J no auto-advance on selection\n"
|
" -J no auto-advance on selection\n"
|
||||||
" -K detect key collision\n"
|
" -K detect key collision and exit\n"
|
||||||
" -l val set scroll lines\n"
|
" -l val set scroll lines\n"
|
||||||
" -n type-to-nav mode\n"
|
" -n type-to-nav mode\n"
|
||||||
" -o open files only on Enter\n"
|
" -o open files only on Enter\n"
|
||||||
|
|
Loading…
Reference in a new issue