From 87b29e6123b716abaaeefa1ef03c3702cb0ba882 Mon Sep 17 00:00:00 2001 From: Nikolaj Schumacher Date: Mon, 2 Sep 2013 18:26:58 +0200 Subject: [PATCH] Add basic README. --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..f0aa4b9 --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +window-numbering +================ + +Numbered window shortcuts for Emacs + +[![Build Status](https://travis-ci.org/nschum/window-numbering.el.png?branch=master)](https://travis-ci.org/nschum/window-numbering.el) + +Enable `window-numbering-mode` and use M-1 through M-0 to navigate. + +If you want to affect the numbers, use window-numbering-before-hook or +window-numbering-assign-func. +For instance, to always assign the calculator window the number 9, add the +following to your .emacs: + + (setq window-numbering-assign-func + (lambda () (when (equal (buffer-name) "*Calculator*") 9)))