I am looking for a way to make a vim binding where I can enter control C (both the control and c keys at the same time), then another option (similar to yy
or dd
. For example, ctrl+c then 1 would be set so that a function I define, called my func, would be called like so: myfunc(1)
Here is my attempt so far: map <C-A> <F1>:call myfunc(1)<CR>