WIP remote nvim

This commit is contained in:
Marko Korhonen 2024-01-24 13:52:46 +02:00
parent bb75584fa2
commit 8912fed29c
3 changed files with 42 additions and 30 deletions

View file

@ -0,0 +1,13 @@
[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