AskReddit: how do you deal with SSH latency when editing on Vim?

This page summarizes the projects mentioned and recommended in the original post on /r/vim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Mosh

    Mobile Shell

  • Check out MOSH - it can help you with other connection related terminal issues. It uses SSH as a backend for authentication and it doesn't need any system-wide modifications, so it can be used on user accounts without any extra privileges.

  • dotfiles

    My version controlled dotfiles (by anthony-khong)

  • I managed to clean things up, and the updated script is here, where it now creates the master SSH connection when it starts, then exits the connection when interrupted. I've tested it out, and I'm quite happy with how it turns out. Thank you again for the tips!

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • sniprun

    A neovim plugin to run lines/blocs of code (independently of the rest of the file), supporting multiples languages

  • As long as you're not doing bigger projects, plugins like sniprun (shameless self-plug, neovim-only though) or vim-terminator may be better than the save-run workflow, actually

  • Lsyncd

    Lsyncd (Live Syncing Daemon) synchronizes local directories with remote targets

  • Great! I remembered another utility I'd found in the past called lsyncd: https://github.com/axkibe/lsyncd. I'm not sure I'd recommend using it (unmaintained and much less lean than your current solution), but looking at that reminded me of two things I think can probably still be improved upon:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts