notes/util/editors/vim/vim-ex-find.txt
Ihar Hancharenka 9685f30a41 m
2025-04-03 11:30:33 +03:00

29 строки
478 B
Plaintext

Find files:
:fin[d] find files in pa[th]
:pa[th] ...
:gr[ep][!] expr *.txt
Returns a list of files with rex-expr (findstr /n expr *.txt).
:cw
:copen
List all the files [Quickfix list]
^W^W
Switch between windows
Edit Files:
:e FILENAME
Edit(Open) a FILENAME
% - current filename
# - alternate filename (:e # is equivalent to C-^)
:e!
Re-Open a disc version of the current file
:e .
View a directory listing
<Enter>
To edit a file at the cursor.