vim screen restore

前端 未结 1 811
夕颜
夕颜 2021-02-02 01:07

i use vim in screen for development and if i quit vim, the current screen-content stays there...

outside the screen (xterm), exiting vim will restore the previous buffer

相关标签:
1条回答
  • 2021-02-02 01:29

    In the file .screenrc in your home directory, add the line:

    altscreen on

    That should fix it. According to the man page for screen, it turns on "alternate screen" support, "just like in xterm."

    I tested it out, and it does what you're looking for.

    0 讨论(0)
提交回复
热议问题