Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create directory with UTF-8 name in Vim

Tags:

vim

mkdir

I can not create a directory in russian (UTF-8) using vimscript in WinXP.

For example

:call mkdir("привет") 

creates directory with привет name instead of привет.

I have also tried

:call system("mkdir привет") 

with the same result.

Is it possible?

like image 546
Maxim Kim Avatar asked Feb 16 '10 07:02

Maxim Kim


1 Answers

What I usually do is I switch to the explorer mode with :Explore and press d. It asks me for the directory name, then.

  • :h :Explore
  • :h netrw-d
like image 191
shinkou Avatar answered Sep 21 '22 13:09

shinkou