.vimrc: Set flag `c` in `viminfo` in function `SlowTerm`
authorOleg Broytman <phd@phdru.name>
Sun, 5 May 2019 16:48:58 +0000 (19:48 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 5 May 2019 16:48:58 +0000 (19:48 +0300)
.vimrc

diff --git a/.vimrc b/.vimrc
index 25658e1..1818125 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -570,6 +570,9 @@ function! SlowTerm()
    set nowildmenu
    set wildmode=list:longest
    set viminfo=!,h,'10,<100,s5
+   if has("iconv")
+      set viminfo^=c
+   endif
    syntax off
    highlight NonText cterm=NONE ctermfg=NONE
 endfunction