nvim tuning

This commit is contained in:
Anton Volnuhin 2024-05-31 00:36:22 +03:00
parent 6e52858891
commit 9b0e4537cc

View File

@ -254,8 +254,8 @@ cp ~/.ssh/authorized_keys ~/.ssh/authorized_keys.old 2>/dev/null || true
cat ~/.ssh/authorized_keys.old <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPdqIDeRKDOh7NQDcqnmLH/6M0ys7Wt/SEnF6ZYqroiH") 2>/dev/null | awk '!seen[$1]++' > ~/.ssh/authorized_keys
new_line "Executing neovim :Lazy sync..."
timeout 15s nvim --headless "+Lazy! sync" 2>&1|pad
timeout 10s nvim --headless ":MasonUpdate" 2>&1|pad
timeout 15s nvim --headless "+Lazy! sync" -c "sleep 14" +qa 2>&1|pad
timeout 10s nvim --headless ":MasonUpdate" -c "sleep 9"+qa 2>&1|pad
{{ if eq .chezmoi.os "linux" -}}
new_line "Setting timezone to Moscow"