[TxMt] Re: select whole function?

mail at bibiko.de mail at bibiko.de
Tue Apr 23 09:54:36 UTC 2019


Hi,


> Programming for R (stats package) the user often wants to select a whole function (usually in order to execute it in R)
> 
> my fun <- function(param,..){
> 	# your code
> }
> 
> cmd-shift-B will select the next-out level of brackets, and, if repeated, will eventually select the outer-most brackets. But to execute the function, one needs to select the whole of that first line of the function definition.


for me a macro works recorded as:

cmd-shift-B
cmd-shift-arrow_left


Cheers, Hans




More information about the textmate mailing list