2024年8月21日 星期三

修改cursor的shortcut key

以修改"註解"的shortcut為例

1.  Ctrl + Shift + P. 打開指令視窗

2. 找到“preferences: open keyboard shortcuts”以後點選進去

3. 搜尋"Toggle Line comment"

4. 滑鼠到那個位置以後,前面會出現一枝筆。點擊那支筆,就能輸入key combo,修改快捷。


ref: https://forum.cursor.com/t/how-do-i-change-the-keyboard-shortcuts-that-cursor-uses/33

agy進入auto-mode

 以前的agy可以透過ctrl-tab進行模式切換。最近更新把auto mode從這個切換中拿掉了,頂多讓agent寫寫文件,但是不讓agent去跑程式。解決辦法就是要從一開始就決定進入session的時候要不要開auto mode: agy --dangerously-skip...