From 7a1090eef54800c42086610b5ed9b373ce8af3ec Mon Sep 17 00:00:00 2001 From: ZyX Date: Fri, 23 Oct 2015 13:58:02 +0300 Subject: shada: Run set_last_cursor before writing shada file --- runtime/doc/motion.txt | 3 ++- runtime/doc/starting.txt | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt index 2e8f0801dc..3757a46fe2 100644 --- a/runtime/doc/motion.txt +++ b/runtime/doc/motion.txt @@ -877,7 +877,8 @@ was made yet in the current file. for each opened file. Only one position is remembered per buffer, not one for each window. As long as the buffer is visible in - a window the position won't be changed. + a window the position won't be changed. Mark is also + reset when |:wshada| is run. *'^* *`^* '^ `^ To the position where the cursor was the last time diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index 84bd70db62..6ee95a94f4 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -1169,6 +1169,8 @@ running) you have additional options: cannot write ShaDa file!" check that no old temp files were left behind (e.g. ~/.nvim/shada/main.shada.tmp*). + Note: Executing :wshada will reset all |'quote| marks. + *:wv* *:wviminfo* :wv[iminfo][!] [file] Deprecated alias to |:wshada| command. -- cgit From fc2bb200f75ab9650c1c35463bcc2be9008632c9 Mon Sep 17 00:00:00 2001 From: ZyX Date: Fri, 23 Oct 2015 14:46:18 +0300 Subject: documentation: Fix :delmarks! documentation :delmarks! clears the change list, but this fact is not mentioned. Also true for Vim. --- runtime/doc/motion.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt index 3757a46fe2..5e3fe715ab 100644 --- a/runtime/doc/motion.txt +++ b/runtime/doc/motion.txt @@ -797,7 +797,7 @@ g'{mark} g`{mark} < :delm[arks]! Delete all marks for the current buffer, but not marks - A-Z or 0-9. + A-Z or 0-9. Also clear the |changelist|. A mark is not visible in any way. It is just a position in the file that is remembered. Do not confuse marks with named registers, they are totally -- cgit