Permalink
Browse files

Do not bind keys automatically

  • Loading branch information...
1 parent 02cb342 commit 44d58fe6f5f2f6f3e164ac4043b2a4265d4db73b @lunaryorn lunaryorn committed May 24, 2013
Showing with 8 additions and 5 deletions.
  1. +6 −3 README.asciidoc
  2. +2 −2 switch-window.el
View
@@ -6,9 +6,12 @@ Check out this http://tapoueh.org/emacs/switch-window.html[screenshot], then ins
+switch-window.el+ file here (with http://github.com/dimitri/el-get[El-Get] or
https://melpa.milkbox.net[MELPA] it's even easier).
-== Manual install
+== Installation
-Download the file or +git clone git://github.com/dimitri/el-get.git+ then do
-the following, which will steal your +C-x o+ key:
+Rebind your +C-x o+ key:
+
+ (global-set-key (kbd "C-x o") 'switch-window)
+
+If you do not use El-Get or ELPA, you need to require the package first:
(require 'switch-window)
View
@@ -14,7 +14,8 @@
;; Install:
;; (require 'switch-window)
;;
-;; It'll take over your C-x o binding.
+;; Rebind your C-x o key:
+;; (global-set-key (kbd "C-x o") 'switch-window)
;;
;; Changelog
;;
@@ -228,6 +229,5 @@ ask user for the window to select"
(set-window-dedicated-p (car w) (cdr w))))
key))
-(global-set-key (kbd "C-x o") 'switch-window)
(provide 'switch-window)
;;; switch-window.el ends here

0 comments on commit 44d58fe

Please sign in to comment.