Mapping Shift + Alt + anything in vim

Viewed 194

I would like to map Shift + Alt + l and Shift + Alt + h to switch between split in Vim (the default combinations are Ctrl + w + l and Ctrl + w + h)

I have the solution to map Shift + Alt + "Arrow": it's :

map <A-S-Right> <ESC> <C-w>l (Shift + Alt + right arrow)

map <A-S-Left> <ESC> <C-w>h (Shift + Alt + left arrow)

But it's not working with the letter i.e.

map <A-S-l> <ESC> <C-w>l

map <A-S-h> <ESC> <C-w>h

Any suggestion?

0 Answers
Related