Vim には、私が入力できる派手な NetRW プラグインがあります。
vim ftp://ftp.example.com/
そして、ファイルの上で CR を押すだけでファイルを編集できる、すてきなディレクトリ リストを取得します。
ただし、ディレクトリでこれを行うことはできないようです。F1 を押すと表示されるヘルプ ファイルには、次のことができるはずだと書かれています。
BROWSING netrw-cr {{{2
Browsing is simple: move the cursor onto a file or directory of interest.
Hitting the <cr> (the return key) will select the file or directory.
Directories will themselves be listed, and files will be opened using the
protocol given in the original read request.
ただし、j
/を使用k
してディレクトリに移動し、 を押し<cr>
て開こうとすると、次のようになります。
somedirectory: Not a regular file
Vim は にアクセスしようとしますftp://ftp.example.com/somedirectory
。ディレクトリであることを示すスラッシュが追加されていないことに注意してください。
なぜこれが起こるのか途方に暮れています。Vimを終了して再入力することなく、Vim内でそのディレクトリに入るにはどうすればよいvim ftp://ftp.example.com/somedirectory/
ですか?
Ubuntu 14.04 で Vim 7.4 を実行しています。