" Joiner. Ability to join lines in a text object. " " Joiner provides several bindings, with the leader being configurable. This " documentation assums as the leader. " " s: join the lines in with . " The lines are stripped of whitesapce before being " joined " " S: join the lines in with . " The lines are joined verbatim. " " : join the lines in . The lines are stripped " before being joined. " " There are Visual counterparts to these. if ! exists('g:joiner_include_bindings') let g:joiner_include_bindings = 1 endif if ! exists('g:joiner_leader') let g:joiner_leader = '' endif noremap (joiner)s let g:JoinerJoinText=function('joiner#join_with_string')set operatorfunc=joiner#dog@ noremap (joiner)S let g:JoinerJoinText=function('joiner#join_with_string_literal')set operatorfunc=joiner#dog@ noremap (joiner) let g:JoinerJoinText=function('joiner#default_join')set operatorfunc=joiner#dog@ vnoremap (joiner)s let g:JoinerJoinText=function('joiner#join_with_string')gvcall joiner#do(visualmode(), 1) vnoremap (joiner)S let g:JoinerJoinText=function('joiner#join_with_string_literal')call joiner#do(visualmode(), 1) vnoremap (joiner) let g:JoinerJoinText=function('joiner#default_join')call joiner#do(visualmode(), 1) if g:joiner_include_bindings exec printf("vnoremap %s (joiner)", g:joiner_leader) exec printf("noremap %s (joiner)", g:joiner_leader) endif