Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Gestures as mappable objects

Open Ecco opened this issue 13 years ago • 2 comments

As requested here : http://news.ycombinator.com/item?id=3487837

Ecco avatar Jan 20 '12 08:01 Ecco

Mappable gestures are an excellent idea.

I could easily imagine something along the lines of this in my .vimrc file:

imap <OneFingerTwoTaps> <Esc> 
nmap <TwoFingersOneTap> :
nmap <TwoFingersPinch> close
nmap <TwoFingersZoom> only

others waiting to be mapped
map <OneFingerSwipeLeft>
map <OneFingerSwipeUp>
map <OneFingerSwipeRight>
map <OneFingerSwipeDown>

mtwebb avatar Jan 24 '12 21:01 mtwebb

Yes, that would be great!

Especially with the strange mapping of ESC to backspace and if we don't add another line of special keys to the keyboard.

jonasjonas avatar Jan 27 '12 16:01 jonasjonas