aboutsummaryrefslogtreecommitdiff
path: root/vim/config/join.vim
blob: ebf42a8bb35962e778baa12333f71030e9d4f937 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
" Don't join lines with two spaces at the end of sentences; I don't two-space,
" despite the noble Steve Losh's exhortations
set nojoinspaces

" Rebind normal J to run plugin-defined join that doesn't jump around, but
" only if we have the eval feature, because otherwise this mapping won't exist
" and we should keep the default behaviour
if has('eval')
  nmap J <Plug>FixedJoin
endif