diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-04 01:05:58 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-04 01:05:58 +1200 |
commit | 43d2bcbf6aeb1f4fa3201f004bf66488275843ac (patch) | |
tree | af8f88cb79a26ef4ce561b4d343bdf183c36bedb | |
parent | Merge branch 'release/v0.1.0' into develop (diff) | |
download | vim-keep-position-43d2bcbf6aeb1f4fa3201f004bf66488275843ac.tar.gz vim-keep-position-43d2bcbf6aeb1f4fa3201f004bf66488275843ac.zip |
Add command example
-rw-r--r-- | doc/keep_position.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/keep_position.txt b/doc/keep_position.txt index 6f1d516..25de36f 100644 --- a/doc/keep_position.txt +++ b/doc/keep_position.txt @@ -15,8 +15,11 @@ COMMANDS *keep_position-commands* *:KeepPosition* Run the given command while preserving the cursor position and window view. -Works rather like |:keepalt| or |:keepjumps|. - +Works rather like |:keepalt| or |:keepjumps|. It's good for filters, +especially ones that work on the entire buffer: +> + :KeepPosition %!tidy +< AUTHOR *keep_position-author* Written and maintained by Tom Ryder <tom@sanctum.geek.nz>. |