inital commit

This commit is contained in:
2026-03-23 23:50:58 +00:00
commit 503c232b30
110 changed files with 7218 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#autoload
neo_open() {
if [[ -z $SSH_CONNECTION ]]; then
local _nport=127.0.0.1:7777
local _nfile="${1:A}"
else
local _nport=127.0.0.1:7778
local _nfile="scp://$(hostname)//${1:A}"
fi
cmd_args=( "nvim" "--server" "${_nport}" "--remote" "${_nfile}")
eval $cmd_args[@]
if kitty @ ls -m "env:PANEL" >/dev/null 2>&1; then
kitten @ --to ${KITTY_LISTEN_ON} resize-os-window --match env:PANEL --action=toggle-visibility
fi
}