make vim remote editing a command

This commit is contained in:
2026-04-18 22:30:34 +02:00
parent da3bc11189
commit cfb1177928
2 changed files with 7 additions and 10 deletions

View File

@@ -79,3 +79,10 @@ bin: recinf
tag: recfiles
tag: database
aim: Remotely edit a file with vim:
cmd: vim scp://${server}/~/${file}
cmd: vim scp://${user}@${server}:${port}//${path}/${file}
shell: sh
bin: vim
bin: scp

View File

@@ -1,10 +0,0 @@
---
title: "Vim Tricks"
tags: [ "vim", "TUI" ]
requiered: [ "ssh" ]
---
## Remote Editing
`vim scp://*user*@*myserver*[:*port*]//*path/to/file.txt*`