Skip to content

Commit

Permalink
Do not bind keys automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
swsnr committed May 24, 2013
1 parent 02cb342 commit 44d58fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions README.asciidoc
Expand Up @@ -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 +switch-window.el+ file here (with http://github.com/dimitri/el-get[El-Get] or
https://melpa.milkbox.net[MELPA] it's even easier). 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 Rebind your +C-x o+ key:
the following, which will steal 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) (require 'switch-window)
4 changes: 2 additions & 2 deletions switch-window.el
Expand Up @@ -14,7 +14,8 @@
;; Install: ;; Install:
;; (require 'switch-window) ;; (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 ;; Changelog
;; ;;
Expand Down Expand Up @@ -228,6 +229,5 @@ ask user for the window to select"
(set-window-dedicated-p (car w) (cdr w)))) (set-window-dedicated-p (car w) (cdr w))))
key)) key))


(global-set-key (kbd "C-x o") 'switch-window)
(provide 'switch-window) (provide 'switch-window)
;;; switch-window.el ends here ;;; switch-window.el ends here

0 comments on commit 44d58fe

Please sign in to comment.