keyboard shortcut [F2] to ecb-mode
This commit is contained in:
parent
bb80ec4def
commit
a4607a27d3
@ -1,9 +1,19 @@
|
|||||||
;;----------------------------------------------------------------------------
|
;;----------------------------------------------------------------------------
|
||||||
;; ECB
|
;; ECB
|
||||||
;;----------------------------------------------------------------------------
|
;;----------------------------------------------------------------------------
|
||||||
(use-package ecb)
|
(use-package ecb
|
||||||
|
:config
|
||||||
|
(custom-set-variables '(ecb-options-version "2.50"))
|
||||||
|
(setq-default ecb-tip-of-the-day nil)
|
||||||
|
(setq ecb-examples-bufferinfo-buffer-name nil)
|
||||||
|
|
||||||
(custom-set-variables '(ecb-options-version "2.50"))
|
(defun ecb-toggle ()
|
||||||
(setq-default ecb-tip-of-the-day nil)
|
(interactive)
|
||||||
|
(if ecb-minor-mode
|
||||||
|
(ecb-deactivate)
|
||||||
|
(ecb-activate)))
|
||||||
|
(global-set-key [f2] 'ecb-toggle)
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
(provide 'init-ecb)
|
(provide 'init-ecb)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user