Code folding is not saved in my vimrc

后端 未结 6 1469
伪装坚强ぢ
伪装坚强ぢ 2021-02-07 08:25

I added the following code to my .vimrc:

\" save and restore folds when a file is closed and re-opened
autocmd BufWinLeave *.* mkview
autocmd BufWinEnter *.* sil         


        
6条回答
  •  执笔经年
    2021-02-07 08:53

    The view details get saved in view file in the vimfiles\view directory. A separate view file is created for every file you edit.

提交回复
热议问题