diff options
author | ZyX <kp-pav@yandex.ru> | 2015-11-01 21:26:53 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2015-11-23 17:08:01 +0300 |
commit | b98cea909f1a38fc8d0f901164e1e44b03620e2a (patch) | |
tree | fe884161218e72a8e3e8c09979b3482c9bb6d81b /runtime/doc | |
parent | 321db59ca1dc304feb3e00c10ca3e89c1de616e7 (diff) | |
download | rneovim-b98cea909f1a38fc8d0f901164e1e44b03620e2a.tar.gz rneovim-b98cea909f1a38fc8d0f901164e1e44b03620e2a.tar.bz2 rneovim-b98cea909f1a38fc8d0f901164e1e44b03620e2a.zip |
shada: Also store last search direction
Note: it looks like viminfo files do not store search direction intentionally.
After reading viminfo file search direction was considered to be “forward”.
Note 2: all files created on earlier Neovim version will automatically receive
“forward” direction.
Fixes #3580
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/starting.txt | 2 | ||||
-rw-r--r-- | runtime/doc/vim_diff.txt | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index 572823eca9..f729fbefcc 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -1232,6 +1232,8 @@ exactly four MessagePack objects: With |shada-h| or 'nohlsearch' this key is always false. sp Binary N/A Actual pattern. Required. + sb Boolean false True if search direction is + backward. * any none Other keys are allowed for compatibility reasons, see |shada-compatibility|. diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 6cbc2aef59..a6cbf6f4c4 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -117,6 +117,7 @@ Additional differences: |shada-error-handling| - Vim keeps no timestamps at all, neither in viminfo file nor in the instance itself. +- ShaDa file keeps search direction (|v:searchforward|), viminfo does not. ============================================================================== 4. New Features *nvim-features-new* |