Skip to content

muffinmad/emacs-ctrlxo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stand With Ukraine

License GPL 3 MELPA

emacs-ctrlxo

Switch to the most recently used window.

Usage

Use the ctrlxo function to start switching between windows on visible frames in the recent usage ordering.

ctrlxo also activates transient keymap:

  • o to switch to the next window
  • O to switch to the previous window
  • C-g to cancel switching and select window that was active on ctrlxo invocation

Use the ctrlxo-currrent-frame function to start switching between windows on the current frame.

Use C-TAB and C-x o to switch windows

Following example configuration will allow to switch between windows on all visible frames with C-TAB and between windows on the current frame with C-x o:

(require 'ctrlxo)

(global-set-key (kbd "C-<tab>") #'ctrlxo)
(global-set-key (kbd "C-x o") #'ctrlxo-current-frame)

(define-key ctrlxo-map (kbd "<tab>") #'ctrlxo-forward)
(define-key ctrlxo-map (kbd "<S-tab>") #'ctrlxo-backward)

Now use C-TAB or C-x o to start switching, TAB or o to select next window and S-TAB or O to select previous window.

Installation

ctrlxo is available on MELPA.

Alternatively, you can download ctrlxo.el and run:

M-x package-install-file RET <path-to-ctrlxo-el> RET

About

Maybe better window switcher than "C-x o"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published