效果(页面组件定位到corsur编辑器)
第一步: 打开cursor 编辑器,command + shift + p 输入。Shell Command: Install 'cursor' command in PATH
选择安装cursor 命令
第二步: 配置环境变量,复制命令终端执行:
echo 'export EDITOR=cursor' >> ~/.zshrc
source ~/.zshrc
echo 'export EDITOR=cursor' >> ~/.bashrc
source ~/.bashrc