id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
2007	key binding to insert the name of the current file prefixed by ./ if it's executable	csaba.juhos		"Running an executable in the current directory without parameters is easy. You just select it in one of the panels, then you hit enter.
Running it with parameters is more cumbersome. At best you can:
 1. type '''./'''
 1. select the executable in one of the panels
 1. insert its name by hitting alt-enter or control-enter
 1. complete the command line with the parameters
 1. and execute it by hitting enter

It would be nice to have a key binding which inserts '''./%f''' for executables.
You could bind it to either alt-enter or control-enter, they both insert a plain '''%f'''. I would go with control-enter, as it's a bit harder to type.

A common use case of this enhancement would be running a script with file arguments, when the script and the files are all in the same directory. For example:

{{{
#!sh
$ ./apply-style.sh extract.xsl db.xml
}}}

The entire command line can be constructed from three simple insertions. No ""manual"" typing.

Csabi"	enhancement	new	trivial	Future Releases	mc-core	master		key binding control ctrl alt enter executable				no branch	
