]> git.phdru.name Git - dotfiles.git/commitdiff
.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 25658e1a0ab51ff3ca81b9c173da3f4b2468d7ec..18181257d655b47d5d148e57b6679298f01ad058 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