nvim: wrapper script for persistent+remote control

This commit is contained in:
Daniel Lundin 2025-01-02 10:55:43 +01:00
parent 9ee84b89e6
commit 311cd9042e
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
3 changed files with 17 additions and 2 deletions
home/common

View file

@ -33,6 +33,7 @@
unfocused-split-opacity = 1.0;
shell-integration = "fish";
initial-command = "nvim-remote";
window-decoration = true;
gtk-single-instance = true;
@ -112,7 +113,9 @@
"System"
"TerminalEmulator"
];
exec = ''ghostty --class=com.mitchellh.ghostty-nemo --command="ssh -t nemo"'';
exec = ''
ghostty --class=com.mitchellh.ghostty-nemo --command="ssh -t nemo" --initial-command="ssh -t nemo nvim-remote"
'';
genericName = "Ghostty (nemo)";
icon = "com.mitchellh.ghostty";
name = "Ghostty (nemo)";