From b5047904386a544b82a2e609c0adcea64397b76f Mon Sep 17 00:00:00 2001 From: Martin <1403951401@qq.com> Date: Mon, 6 Jan 2025 16:53:04 +0800 Subject: [PATCH] =?UTF-8?q?[+]=20fix=20=E7=B2=98=E8=B4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init-apt.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/init-apt.sh b/init-apt.sh index aab715e..98198e6 100644 --- a/init-apt.sh +++ b/init-apt.sh @@ -38,4 +38,9 @@ server ntp5.aliyun.com iburst driftfile /var/lib/chrony/drift allow 127.0.0.1 EOF -systemctl restart chrony && systemctl enable chrony \ No newline at end of file +systemctl restart chrony && systemctl enable chrony + +# fix vim 粘贴 +if ! grep -q "set pastetoggle=" ~/.vimrc; then + echo "set pastetoggle=" >> ~/.vimrc +fi \ No newline at end of file