vim 能够打开目录(然后在其中浏览)。
vim roles/webservices/tasks/
" ============================================================================
" Netrw Directory Listing (netrw v156)
" /home/gwagner/repos/automation_postgres/roles/webservices/tasks
" Sorted by name
" Sort sequence: [\/]$,\<core\%(\.\d\+\)\=\>,\.h$,\.c$,\.cpp$,\~\=\*$,*,\.o$,\.obj$,\.info$,\.swp$,\.bak$,\~$
" Quick Help: <F1>:help -:go up dir D:delete R:rename s:sort-by x:special
" ==============================================================================
../
./
download_file.yml
main.yml
post_data.yml
post_du.yml
~
现在,关闭文件时是否可以跳回vim内的目录浏览器?
:wq
, :q
,:x
让你回到原来的地方
该命令
:Explore
将打开目录列表。来自
:help :Explore
(vim 9.0
):