소스 검색

When filter is empty, open file on Enter

master
Arun Prakash Jana 7 년 전
부모
커밋
a9a8b30bdf
No known key found for this signature in database GPG 키 ID: A75979F35C080412
3개의 변경된 파일3개의 추가작업 그리고 5개의 파일을 삭제
  1. +1
    -1
      README.md
  2. +2
    -3
      nnn.1
  3. +0
    -1
      nnn.c

+ 1
- 1
README.md 파일 보기

@@ -188,7 +188,7 @@ Right, Enter, l, ^M | Open file or enter dir

Filters support regexes to display only the matched entries in the current directory view. This effectively allows searching through the directory tree for a particular entry. Matching entries are shown instantly (search-as-you-type).

Filters do not stack on top of each other. They are applied anew every time. There are 4 ways to reset a filter: <kbd>^L</kbd>, an empty filter expression, a search with no results or an extra backspace at the filter prompt (like vi).
Filters do not stack on top of each other. They are applied anew every time. There are 3 ways to reset a filter: <kbd>^L</kbd>, a search with no matches or an extra backspace at the filter prompt (like vi).

Examples: If you want to list all matches starting with the filter expression (a common use case), start the expression with a `^` (caret) symbol. To list all MKV files type `\.mkv`.



+ 2
- 3
nnn.1 파일 보기

@@ -139,9 +139,8 @@ searching through the directory tree for a particular entry. Matching entries
are shown instantly (\fIsearch-as-you-type\fR).
.Pp
Filters do not stack on top of each other. They are applied anew
every time. There are 4 ways to reset a filter: \fI^L\fR, an empty filter
expression, a search with no results or an extra backspace at the filter prompt
(like vi).
every time. There are 3 ways to reset a filter: \fI^L\fR, a search with no
matches or an extra backspace at the filter prompt (like vi).
.Pp
If you want to list all matches starting with the filter expression (a common
use case), start the expression with a


+ 0
- 1
nnn.c 파일 보기

@@ -727,7 +727,6 @@ readln(char *path)
case '\r': // with nonl(), this is ENTER key value
if (len == 1) {
cur = oldcur;
*ch = CONTROL('L');
goto end;
}



불러오는 중...
취소
저장