Some nice to know keybindings when using the mouse in Emacs
24 Apr 2026 Charles Choi
These keybindings are good to know when working with a mouse in Emacs.
F10 (menu-bar-open) :: Start key navigation of the menu bar in FRAME.
S-F10 (context-menu-open) :: Start key navigation of the context menu. This needs context-menu-mode enabled.
C-M-mouse-1 :: Activate a rectangular region around the text selected by dragging. Useful for rectangle operations.
M-Drag-mouse-1 :: Set the secondary selection, with one end at the place where you press down the button, and the other end at the place where you release it. See Secondary Selection for more info.
C-x z (repeat) :: Repeat most recently executed command. Yes, repeat works also for commands issued via mouse too!
Knowing that repeat works with menu commands (both main and context) is particularly useful with the additions to the main menu made by the latest Anju v1.2.0 update. Shown below is a demo of using “Duplicate” (duplicate-dwim) from the Edit menu, then using C-x z and then z successively to repeat the duplication.