In ECB in Emacs, can I switch to the browser window using the keyboard?

I looked through the documentation and can only find a way to access the Emacs ECB browser window by left-clicking in the browser area.

+3
source share
4 answers

Using the Menu - ECB → Goto Window → ...

Or hotkeys. For example, to switch to the file system browser, use the function (ecb-goto-window-directories), which by default is bound to "Cc. G d".

+3
source

Keyboard navigation:

ECB windows from bottom to top.

  • Go to story: "Cc. G h"
  • Go to the methods: "Cc. G m"
  • Go to sources: "Cc. G s"
  • Go to directories: "Cc. G d"

: "C-c. g 1"

+11

.emacs

(global-set-key (kbd "<M-left>") 'ecb-goto-window-methods)
(global-set-key (kbd "<M-right>") 'ecb-goto-window-edit1)

ecb, .

+3
source

I usually use the same bindings as Raja Selvaraj, but at least in my version of ECB (20120612.1129) it is not necessary to add additional mappings.

By default, M-left/ are M-righttied to the windmove-left / windmove-right functions, which make it easy to switch to and from the ECB browser.

+3
source

Source: https://habr.com/ru/post/1777220/


All Articles