[Unit] Description=Neovim remote SSH socket # Pass arguments https://superuser.com/a/1282178 [Service] Type=simple Environment="SCRIPT_ARGS=%I" ExecStart=%h/.local/bin/nvim-remote-ssh $SCRIPT_ARGS Restart=on-failure RestartSec=1 [Install] WantedBy=default.target