ranger has a pretty buildin-console which do not mess up terminal out side.

below is my lf command, it kind of mess up my terminal.


Try this:
cmd mkdir $mkdir -p "$(echo $* | tr ' ' '\ ')"
map md push :mkdir<space>
In this case you can either type :mkdir example or press _md_ and you'll be prompted to enter the directory name. Also, you can create directories with spaces in the name without worrying about backslashes because it automatically replaces spaces with \.
Most helpful comment
Try this:
In this case you can either type
:mkdir exampleor press _md_ and you'll be prompted to enter the directory name. Also, you can create directories with spaces in the name without worrying about backslashes because it automatically replaces spaces with\.