applidium/Vim

Gestures as mappable objects

Ecco opened this issue · 2 comments

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>

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.