aboutsummaryrefslogtreecommitdiff
path: root/vim/doc/fixed_join.txt
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-12 20:57:13 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-12 20:57:13 +1300
commit937458202c8311ecbed7a51a4cec1d1941a6bfd0 (patch)
tree00b3900dc6a7e351218dfe8f55b1fd575bf08889 /vim/doc/fixed_join.txt
parentMerge branch 'release/v0.14.0' into develop (diff)
downloaddotfiles-937458202c8311ecbed7a51a4cec1d1941a6bfd0.tar.gz
dotfiles-937458202c8311ecbed7a51a4cec1d1941a6bfd0.zip
Bind norm J on fixed_join.vim load if appropriate
If there are no mappings to the <Plug>FixedJoin target that the fixed_join.vim plugin provides at the time it is loaded, and the line-joining function of normal-mode J is not already mapped, the plugin will try to map it itself, for a more plug-and-play.
Diffstat (limited to 'vim/doc/fixed_join.txt')
-rw-r--r--vim/doc/fixed_join.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/vim/doc/fixed_join.txt b/vim/doc/fixed_join.txt
index df0df251..834a3569 100644
--- a/vim/doc/fixed_join.txt
+++ b/vim/doc/fixed_join.txt
@@ -4,10 +4,13 @@ Author: Tom Ryder <tom@sanctum.geek.nz>
License: Same terms as Vim itself (see |license|)
This plugin provides a mapping target <Plug>FixedJoin to create a binding for a
-user to join lines in normal mode without the cursor jumping around.
+user to join lines in normal mode without the cursor jumping around. If the
+user's configuration does not specify a mapping to this target by the time this
+plugin is loaded, it will attempt to map 'J' in normal mode to simply replace
+the default functionality.
-If also provides a :FixedJoin command if you have +user_commands, but this is
-not required.
+The plugin also provides a :FixedJoin command if you have +user_commands, but
+this is not required.
This plugin lives in Tom Ryder's "dotfiles" suite, and will eventually be spun
off into a separate distribution as it solidifies and this documentation