aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-11 16:52:34 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-11 16:52:34 +1200
commit6ffc76012ca5716c272c54c6dce8d783d21cc144 (patch)
tree7da8c7a0fdf6c801b40bcf5329b0ee0000e5687e /doc
parentMerge branch 'release/v0.3.0' (diff)
parentBump VERSION (diff)
downloadvim-keep-position-6ffc76012ca5716c272c54c6dce8d783d21cc144.tar.gz
vim-keep-position-6ffc76012ca5716c272c54c6dce8d783d21cc144.zip
Merge branch 'release/v0.4.0'HEADv0.4.0master
* release/v0.4.0: Adjust order of command attributes Remove range support
Diffstat (limited to 'doc')
-rw-r--r--doc/keep_position.txt11
1 files changed, 0 insertions, 11 deletions
diff --git a/doc/keep_position.txt b/doc/keep_position.txt
index 05f69bc..25de36f 100644
--- a/doc/keep_position.txt
+++ b/doc/keep_position.txt
@@ -20,17 +20,6 @@ especially ones that work on the entire buffer:
>
:KeepPosition %!tidy
<
-You will generally want to use this command as above, without a range.
-However, if you do specify a range, it will only preserve the view if the last
-change to the buffer--presumably made by your nominated command--entirely
-encompassed the given range. This is checked with the |'[| and |']| marks.
-
-The author uses the range functionality to make a "conditional jump"; only
-jump to the changes the given command makes if it didn't affect the entire
-buffer, e.g.:
->
- :nnoremap u :<C-U>%KeepPosition undo<CR>
-<
AUTHOR *keep_position-author*
Written and maintained by Tom Ryder <tom@sanctum.geek.nz>.