error or i don't understend some thing
Andrei Gladkyi
arg at arglabs.net
Mon Jan 12 20:23:53 UTC 2015
Hi.
You can add a menu shortcut for that action:
1. Go to Command -> Edit menu file
2. Chose the menu file to edit: Local (visible only inside the directory where it was created) or User (global menu, visible everywhere)
3. Add the following lines into your user menu:
Create file
FILENAME=%{Enter filename}
touch $FILENAME
mcedit $FILENAME
4. Save the menu file
Now you can press F2 and either choose "Create file" from the list or just press a shortcut - Shift+C (the first character of the menu item's name). Then enter a file name. mcedit will appear with the new file opened for editing. Of course instead of mcedit you can use any command you want if you add into the user menu :)
Hope this helps.
> On 24 дек. 2014, at 16:47, Igor) <dubrovin.i at gmail.com> <dubrovin.i at gmail.com> wrote:
>
> hello, my name is Igor i have a question
>
> how can i create file in mc? shift+f4 not working
>
> now i using echo > flie.name <http://flie.name/> in terminal mode(ctrl+o)
>
> mc version 4.8.11
>
> os ubuntu 14.04
>
> --
> Igor
> _______________________________________________
> mc-devel mailing list
> https://mail.gnome.org/mailman/listinfo/mc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20150112/b4b32369/attachment.html>
More information about the mc-devel
mailing list