Assuming you are working in a shell, I would lay out for any of these commands. Enter command mode using Esc , and then:
:! touch new-file.txt :! mkdir new-directory
A great plugin for these actions is vim-eunuch , which gives you a lot of sugar for UNIX shell commands. Here is the latest example using vim-eunuch:
:Mdkir new-directory
source share