Alternatives for reopening buffers from last session in VIM?

后端 未结 1 1629
自闭症患者
自闭症患者 2021-01-14 11:59

I know :mksession, and I use it, but sometimes, it\'s too much, it saves too much state, which is a problem, for example, when you update some plugins, and want

相关标签:
1条回答
  • 2021-01-14 12:41

    I guess I figured what I wanted out going through :h :mksession:

    set sessionoptions=blank,buffers,curdir,help,tabpages,winsize
    

    Now mksession saves much less state than the default for sessionoptions:

    'sessionoptions' 'ssop':

    • default: blank,buffers,curdir,folds,help,options,tabpages,winsize
    0 讨论(0)
提交回复
热议问题