From 5572c97a0b71dee053b814eda50b0d88eb7a230e Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 23 Jun 2018 16:12:14 +1200 Subject: Remove useless user command :join already keeps the cursor still, making this command useless. --- doc/fixed_join.txt | 6 ------ plugin/fixed_join.vim | 7 ------- 2 files changed, 13 deletions(-) diff --git a/doc/fixed_join.txt b/doc/fixed_join.txt index c3c1962..57c623c 100644 --- a/doc/fixed_join.txt +++ b/doc/fixed_join.txt @@ -19,12 +19,6 @@ 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. -COMMANDS *fixed_join-commands* - *:FixedJoin* - -The plugin also provides a `:FixedJoin` command if Vim has the -|+user_commands| feature, but this is not required. - ALTERNATIVE *fixed-join-alternative* If you don't mind clobbering a mark, this whole plugin can be replaced with diff --git a/plugin/fixed_join.vim b/plugin/fixed_join.vim index f64b650..d039d53 100644 --- a/plugin/fixed_join.vim +++ b/plugin/fixed_join.vim @@ -52,10 +52,3 @@ noremap nmap \ J \ FixedJoin - -" Create a command as well in case it's useful -if has('user_commands') - command -nargs=0 - \ FixedJoin - \ call FixedJoin() -endif -- cgit v1.2.3