diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-27 22:12:55 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-27 22:12:55 +1200 |
commit | 11b7526cd69c4c7e592b955e00be8247e29de77b (patch) | |
tree | 258d2431d3bf72ad95bff87654845fe9ba4c7f55 /doc/strip_trailing_whitespace.txt | |
parent | Refactor majorly for 0.2.0 (diff) | |
download | vim-strip-trailing-whitespace-11b7526cd69c4c7e592b955e00be8247e29de77b.tar.gz vim-strip-trailing-whitespace-11b7526cd69c4c7e592b955e00be8247e29de77b.zip |
Remove user command
Diffstat (limited to 'doc/strip_trailing_whitespace.txt')
-rw-r--r-- | doc/strip_trailing_whitespace.txt | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/doc/strip_trailing_whitespace.txt b/doc/strip_trailing_whitespace.txt index 96635ab..8881a38 100644 --- a/doc/strip_trailing_whitespace.txt +++ b/doc/strip_trailing_whitespace.txt @@ -1,4 +1,4 @@ -*strip_trailing_whitespace.txt* For Vim version 6.0 Last change: 2018 June 10 +*strip_trailing_whitespace.txt* For Vim version 6.0 Last change: 2018 June 27 DESCRIPTION *strip_trailing_whitespace* @@ -12,13 +12,13 @@ This is a very commonly written and implemented plugin, but I wrote my own because I could not find a plugin that did this in exactly the way I wanted: - Provide a |<Plug>| mapping -- Provide a user command to do the stripping as well if wanted - Strip trailing lines as well as trailing spaces, reporting both - Work with even very old Vim (>=6.0) - Work with a single |undo| - Don't move the cursor - Don't change the search pattern - Don't define an |autocmd| +- Don't define a user command - Don't force a key mapping - Don't define a global function @@ -26,13 +26,6 @@ REQUIREMENTS *strip_trailing_whitespace-requirements* This plugin is only available if 'compatible' is not set. -COMMANDS *strip_trailing_whitespace-commands* - - *:StripTrailingWhitespace* -The plugin provides a single `:StripTrailingWhitespace` command if Vim has the -|+user_commands| feature, but this is not required. It operates on the entire -buffer, and accepts neither a range nor arguments. - MAPPINGS *strip_trailing_whitespace-mappings* *<Plug>StripTrailingWhitespace* |