Lf: Is a buildin-console like ranger passible?

Created on 15 Jun 2020  路  1Comment  路  Source: gokcehan/lf

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

2020-06-15-105706_374x305_scrot

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

2020-06-15-104955_318x161_scrot
2020-06-15-105112_330x92_scrot

question

Most helpful comment

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 \.

>All comments

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 \.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

uppercat picture uppercat  路  5Comments

rafi picture rafi  路  7Comments

juacq97 picture juacq97  路  6Comments

aidam38 picture aidam38  路  9Comments

alexherbo2 picture alexherbo2  路  4Comments