Logo

Personal Ops Runbook

Personal runbook covering infrastructure operations for Cloud, Kubernetes, OpenStack, and Ceph environments. Includes deployment and teardown procedures, node management, cluster monitoring setup, and incident response workflows compiled from day-to-day operational work. Intended strictly for personal reference — configurations and scripts are environment-specific and not guaranteed to work as-is elsewhere.

Khắc phục lỗi mode showing và scroll lock not disabling khó chịu trong Vi


Vấn đề thứ nhất, khi bạn bấm nút lên trong trình soạn thảo Vi trên Proxmox và nó hiển thị chữ “DD” thay vì di chuyển lên dòng trên, được gọi là “vi mode showing ‘DD’ instead of moving cursor up”.

Vấn đề thứ hai, khi bạn tắt vòng lặp scroll (scroll lock) trong trình soạn thảo Vi trên Proxmox nhưng nó lại hiển thị chữ “B” thay vì tắt hoàn toàn scroll lock, được gọi là “scroll lock not disabling in Vi editor”.

Lỗi sẽ được miêu tả chi tiết ở hình dưới đây.

image

Bạn chỉ cần thêm nội dung sau vào file ~/.vimrc sẽ fix được lỗi này.

cat > ~/.vimrc << 'OEF'
set nofixeol
set nocompatible
OEF