• ojmcelderry@lemmy.one
    link
    fedilink
    arrow-up
    19
    ·
    1 year ago

    Screen and tmux are your friends in this situation. They can keep your vim session alive when your SSH connection drops, so you can reconnect and continue where you left off.

    • Linssiili@sopuli.xyz
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I’m using Byobu, which is (apparently) a wrapper for screen and tmux, providing things like sensible hotkeys (F2 new tab, ctrl+F2 vertical split etc).

      Granted, I haven’t used regular screen or tmux, so I’m not sure what they have compared to byobu. Someone just said to use it, and I never went back.

    • Wahots
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Oooh, I might have to give that a shot tonight. Thanks!