Surfingkeys icon indicating copy to clipboard operation
Surfingkeys copied to clipboard

magic key 'y'

Open bs0c opened this issue 2 years ago • 1 comments

Error details

SurfingKeys: 1.0.4

Browser: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

config:

api.vunmap('y') api.vmap('y','l') api.vmap('n','j') api.vmap('e','k') api.vunmap('l') api.vunmap('j') api.vunmap('k')

api.unmap('ll') api.map('ll','yy') api.unmap('yy')

api.map('n','j') api.map('e','k') api.unmap('j') api.unmap('k')

api.map('N','R') api.unmap('R')

api.map('H','B') api.map('Y','F') api.unmap('B') api.unmap('F')

Context

I want to swap key 'l' <=> 'y', 'j' <=> 'n', 'k' <=> 'e'. Okey i wrote: api.map('ll','yy'), but it is don't work for me. Okey i try to swap in visual mode api.map('y','l') and again it is don't work. Nothing happens when I press key 'll' or 'y'. Is there a way to swap it? Please help me =)

bs0c avatar Mar 21 '22 13:03 bs0c

I can replicate the issue. A minimal example:

api.vunmap('y');
api.vmap('y', '$');

the output states the selected text was copied

The help entry is correct after refreshing a test page, but changes to copy selected text after entering visual mode.

Browser: Librewolf (firefox fork) 99.0.1

guy-who-googles avatar Jun 21 '22 00:06 guy-who-googles