因为gdb-many-windows的窗口太小,有时候不能完全显示一行的内容,所以不得不来回切换gdb-many-windows模式,在绑定快捷键以后就方便多了.
;; start gdb
(global-set-key [f8] 'gdb)
;; toggle gdb-many-windows
(add-hook 'gdb-mode-hook
'(lambda ()
(local-set-key [(f9)] 'gdb-many-windows)
)
)
阅读(1123) | 评论(0) | 转发(1) |