win-vind icon indicating copy to clipboard operation
win-vind copied to clipboard

[Feature] Add a way to call win-wind's functions with macros

Open pit-ray opened this issue 2 years ago • 0 comments

Discussed in https://github.com/pit-ray/win-vind/discussions/96

Originally posted by tesses June 13, 2022 I think that would be a cool idea to add a way of calling the functions with a macro

For example: enmap <num>gg <jump_caret_to_BOF><num><move_cursor_down>

Or better: enmap <num>gg <gg><num><j>

I really love this project!

and

I see.

How about making map and noremap each consider native commands or not, and expressing whether or not to tell Windows about the generated commands with {}, etc.?

Example.

noremap j easy_click_left

" a -> move_cursor_down
noremap a j

" a -> easy_click_left
map a j

" only inside {} is actually entered.
noremap a j{This text is inserted}

Thanks.

pit-ray avatar Jun 19 '22 08:06 pit-ray