From 9ab74b06395552b2639961f0c79020c47b3c9a8b Mon Sep 17 00:00:00 2001 From: Luxferre Date: Sat, 4 Apr 2026 12:45:47 +0300 Subject: [PATCH] added universal remote editor setup --- core | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core b/core index 160ac82..903ed87 100644 --- a/core +++ b/core @@ -23,3 +23,6 @@ defalias r13 'echo "$*" | tr "A-Za-z" "N-ZA-Mn-za-m"' # nano rc-less config alias nn='nano -FEDSMAGic/max%_T2' defalias nnr 'ssh -t "$1" nano -FEDSMAGic/max%_T2 "$2"' + +# universal remote editor setup +alias sshed='_sshed(){ f="$(mktemp)";scp $1 $f && $EDITOR $f && scp $f $1 && rm -f $f && unset f; };_sshed'