Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
MacVim からディレクトリを作成するにはどうすればよいですか?
ファイルの作成には使用:eできますが、ディレクトリの作成方法を見つけるのに苦労しています。
:e
mkdirから試しまし:たが、うまくいきません。
mkdir
:
! を使用して任意のシェル コマンドを実行できます。このような:
:!mkdir YOURDIR
続きを読む
:help !
ネイティブvim関数がありますmkdir()。
vim
mkdir()
例:
:call mkdir("/path/to/your/dir", "p", 0700)
:help mkdir()詳細を読むには入力してください。
:help mkdir()