Created
February 6, 2013 13:16
-
-
Save madx/4722433 to your computer and use it in GitHub Desktop.
Using Alt+Mouse for block selection and Shift+Mouse for line selection in Vim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Block/Line selection with mouse | |
noremap <M-LeftMouse> <4-LeftMouse> | |
inoremap <M-LeftMouse> <4-LeftMouse> | |
onoremap <M-LeftMouse> <C-C><4-LeftMouse> | |
noremap <M-LeftDrag> <LeftDrag> | |
inoremap <M-LeftDrag> <LeftDrag> | |
onoremap <M-LeftDrag> <C-C><LeftDrag> | |
noremap <S-LeftMouse> <3-LeftMouse> | |
inoremap <S-LeftMouse> <3-LeftMouse> | |
onoremap <S-LeftMouse> <C-C><3-LeftMouse> | |
noremap <S-LeftDrag> <LeftDrag> | |
inoremap <S-LeftDrag> <LeftDrag> | |
onoremap <S-LeftDrag> <C-C><LeftDrag> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment