From 5ba88040a429872eb635bd3912fe8347cea9d7c9 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Wed, 6 Jan 2016 04:11:34 +0100 Subject: [PATCH] Tips: file marks <-> viminfo --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index f49ca1d..7c25dbe 100644 --- a/README.md +++ b/README.md @@ -406,6 +406,9 @@ autocmd BufLeave *.{c,cpp} mark C autocmd BufLeave *.h mark H ``` +**NOTE**: The info is saved in the viminfo file, so make sure that `:set +viminfo?` includes `:h viminfo-'`. + #### Don't lose selection when shifting sidewards If you select one or more lines, you can use `<` and `>` for shifting them