aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin/fixed_join.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-13 00:16:55 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-13 00:16:55 +1300
commit0a717e403db652ca602603617642d8bc7de7e9bb (patch)
treee2be9751fd22fe7cc3f19f44c48d20531fe66cdd /vim/plugin/fixed_join.vim
parentMerge branch 'release/v0.14.0' (diff)
parentBump version number to 0.15.0 (diff)
downloaddotfiles-ee751bcd3c3fa19c41368f244c7fdb3851736491.tar.gz (sig)
dotfiles-ee751bcd3c3fa19c41368f244c7fdb3851736491.zip
Merge branch 'release/v0.15.0'v0.15.0
* release/v0.15.0: (24 commits) Bump version number to 0.15.0 Limit \f mapping to normal mode Move 'hlsearch' insert-mode suspension into plugin Separate g:loaded/&cp tests from feat tests Use :set not :setlocal for 'hlsearch'/'incsearch' Correct nonexistent 'wildmode' value in Vim config Document each 'backspace' flag in Vim config Mention req of toggle_option_flag.vim Adjust first sentence of format_option_toggle.txt Add help links to toggle_option_flag.vim interface Flesh out strip_trailing_whitespace.vim help Specify type of example in mail_mutt.vim doc Adjust layout of headings/links in Vim plugin help Flesh out fixed_join.vim interface documentation Add help tag for detect_background.vim function Flesh out copy_linebreak.vim interface docs Remove nonexistent keyword references from Vim doc Move Vim doc requirement to correct section Apply boilerplate to Vim plugin docs Update and correct detect_background.vim help ...
Diffstat (limited to 'vim/plugin/fixed_join.vim')
-rw-r--r--vim/plugin/fixed_join.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/plugin/fixed_join.vim b/vim/plugin/fixed_join.vim
index 83977c2f..2e7f2abd 100644
--- a/vim/plugin/fixed_join.vim
+++ b/vim/plugin/fixed_join.vim
@@ -31,6 +31,12 @@ noremap <silent> <unique>
\ <Plug>FixedJoin
\ :<C-U>call <SID>FixedJoin()<CR>
+" If there's no mapping to it already, try to bind normal-mode J to it, to
+" simply replace the old functionality
+nmap <unique>
+ \ J
+ \ <Plug>FixedJoin
+
" Create a command as well in case it's useful
if has('user_commands')
command -nargs=0