" Fall through whitespace. noremap k fall#fall('k', '^\s*$') noremap j fall#fall('j', '^\s*$') " Text object to fall through whitepacea onoremap k exec "normal! V" . fall#fall('k', '^\s*$') onoremap j exec "normal! V" . fall#fall('j', '^\s*$') " Text object to fall though whitespace, but exclude the last line. onoremap ik exec "normal! V" . fall#fall('k', '^\s*$') . "j" onoremap ij exec "normal! V" . fall#fall('j', '^\s*$') . "k" " Text object to fall though whitespace, but exclude the last line. onoremap ik exec "normal! V" . fall#fall('k', '^\s*$') . "j" onoremap ij exec "normal! V" . fall#fall('j', '^\s*$') . "k" " Text objects to describe "falling" down, and then "falling" up. Equivalent to " VkOj onoremap ai exec "normal! V" \ . fall#fall('j', '^\s*$') \ . "O" \ . fall#fall('k', '^\s*$') onoremap ii exec "normal! V" \ . fall#fall('j', '^\s*$') \ . "kO" \ . fall#fall('k', '^\s*$') . 'j' vnoremap ai exec "normal! " \ . fall#fall('j', '^\s*$') \ . "O" \ . fall#fall('k', '^\s*$') vnoremap ii exec "normal! " \ . fall#fall('j', '^\s*$') \ . "kO" \ . fall#fall('k', '^\s*$') . 'j' " Selects "vertical words" vnoremap iv fall#visual_vertical_word("jk", '\k') onoremap iv exec "normal! V" . fall#visual_vertical_word("jk", '\k') " Selects "vertical WORDS" vnoremap iV fall#visual_vertical_word("jk", '\S') onoremap iV exec "normal! V" . fall#visual_vertical_word("jk", '\S') vnoremap ic fall#visual_same_character("jk") onoremap ic exec "normal! V" . fall#visual_same_character("jk") vnoremap ijc fall#visual_same_character("j") onoremap ijc exec "normal! V" . fall#visual_same_character("j") vnoremap ikc fall#visual_same_character("k") onoremap ikc exec "normal! V" . fall#visual_same_character("k")