An Emacs package to take a quick detour and come back.
Switch branches/tags
Nothing to show
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Nov 22, 2018 Add customize option to README. Nov 22, 2018
detour.el Initial public version 1.0 Nov 22, 2018

Detour for Emacs

An Emacs package to take a quick detour and come back.


This Emacs package allows you to remember your current cursor position, go somewhere else and then jump between those two positions. It is meant for quick detours and then continuing your work where you left off.

Suggested keybindings:

(global-set-key [(control \.)] 'detour-mark)
(global-set-key [(control \,)] 'detour-back)

Or via use-package:

(use-package detour
  ([(control \.)] . detour-mark)
  ([(control \,)] . detour-back))

Internally, a register is used to store the position. If you manually set this register, these functions will not work. Should you want to change this register (for example if it conflicts with another package), customize the variable detour-register.


This is Free Software published under the GNU General Public License version 2 or later (at your option).