From cfb117792847f004f1657eb0492a60bbc8279145 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Sat, 18 Apr 2026 22:30:34 +0200 Subject: [PATCH] make vim remote editing a command --- command.rec | 7 +++++++ writing/vim_tricks.md | 10 ---------- 2 files changed, 7 insertions(+), 10 deletions(-) delete mode 100644 writing/vim_tricks.md diff --git a/command.rec b/command.rec index a895fae..b6bd05c 100644 --- a/command.rec +++ b/command.rec @@ -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 + diff --git a/writing/vim_tricks.md b/writing/vim_tricks.md deleted file mode 100644 index 7805ebc..0000000 --- a/writing/vim_tricks.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "Vim Tricks" -tags: [ "vim", "TUI" ] -requiered: [ "ssh" ] ---- - -## Remote Editing - -`vim scp://*user*@*myserver*[:*port*]//*path/to/file.txt*` -