diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/motion.txt | 5 | ||||
-rw-r--r-- | runtime/doc/options.txt | 4 | ||||
-rw-r--r-- | runtime/doc/vim_diff.txt | 2 |
3 files changed, 11 insertions, 0 deletions
diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt index 228d1fcb87..9655d07a84 100644 --- a/runtime/doc/motion.txt +++ b/runtime/doc/motion.txt @@ -735,6 +735,11 @@ Jumping to a mark can be done in two ways: 2. With ' (single quote): The cursor is positioned on the first non-blank character in the line of the specified location and the motion is linewise. + *mark-view* +3. Apart from the above if 'jumpoptions' contains "view", they will also try to +restore the mark view. This is the number of lines between the cursor position +and the window topline (first buffer line displayed in the window) when it was +set. *m* *mark* *Mark* m{a-zA-Z} Set mark {a-zA-Z} at cursor position (does not move diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 30ceb4f18b..eb377697e9 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -3531,6 +3531,10 @@ A jump table for the options with a short description can be found at |Q_op|. jumplist and then jumping to a location. |jumplist-stack| + view When moving through the jumplist, |changelist|, + |alternate-file| or using |mark-motions| try to + restore the |mark-view| in which the action occurred. + *'joinspaces'* *'js'* *'nojoinspaces'* *'nojs'* 'joinspaces' 'js' boolean (default off) global diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 385a5f8f61..4b26e5501c 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -383,6 +383,8 @@ Normal commands: Options: 'ttimeout', 'ttimeoutlen' behavior was simplified |jumpoptions| "stack" behavior + |jumpoptions| "view" tries to restore the |mark-view| when moving through + the |jumplist|, |changelist|, |alternate-file| or using |mark-motions|. 'shortmess' the "F" flag does not affect output from autocommands Shell: |