www.delorie.com/gnu/docs/emacs/emacs_197.html   search  
 
Buy the book!


GNU Emacs Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

P.6 Mode Line Mouse Commands

You can use mouse clicks on window mode lines to select and manipulate windows.

Mouse-1
Mouse-1 on a mode line selects the window above. By dragging Mouse-1 on the mode line, you can move it, thus changing the height of the windows above and below.

Mouse-2
Mouse-2 on a mode line expands that window to fill its frame.

Mouse-3
Mouse-3 on a mode line deletes the window above. If the frame has only one window, it buries the current buffer instead and switches to another buffer.

C-Mouse-2
C-Mouse-2 on a mode line splits the window above horizontally, above the place in the mode line where you click.

C-Mouse-2 on a scroll bar splits the corresponding window vertically, unless you are using an X toolkit's implementation of scroll bars. See section O.2 Splitting Windows.

The commands above apply to areas of the mode line which do not have special mouse bindings of their own. Some areas, such as the buffer name and the major mode name, have their own special mouse bindings. Emacs displays information about these bindings when you hold the mouse over such a place (see section P.18 Tooltips (or "Balloon Help")).


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003