Created
October 6, 2020 16:16
-
-
Save gchiam/d8637234e22e492d74e537412a18c362 to your computer and use it in GitHub Desktop.
VIM - Move visual selection
This file contains 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
" Move visual selection | |
vnoremap J :m '>+1<cr>gv=gv | |
vnoremap K :m '<-2<cr>gv=gv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment