0
我已經設置了speedbar並正在工作,但是我想改變它,所以只需單擊一下(Mouse-1)就能讓我進入目錄。我已經圍繞一派,看着相關的文檔:如何在emacs speedbar中設置單擊進入目錄?
The mouse bindings are:
Mouse-1
Move cursor to that location.
Mouse-2
Double-Mouse-1
Activate the current button. Double-Mouse-1 is called a double click on
other platforms, and is useful for windows users with two button mice.
所以,基本上我一直在試圖找到如何鼠標1映射到當前綁定到鼠標-2的功能,但只是裏面的speedbar框架。我發現最接近的做法是ecb設置:
(setq ecb-primary-secondary-mouse-buttons 'mouse-1--C-mouse-1)
但我沒有使用ecb,我只是使用speedbar。也許還有其他方法可以做到這一點?