Created
January 23, 2012 15:46
-
-
Save pvieytes/1663892 to your computer and use it in GitHub Desktop.
Revisions
-
pvieytes renamed this gist
Jan 23, 2012 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
pvieytes renamed this gist
Jan 23, 2012 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
pvieytes created this gist
Jan 23, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ ;;to-line short-cut key (global-set-key "\C-l" 'goto-line) ;;M-g-g does the same ;; Wheel mouse + Control change buffer we are looking at (defun next-buffer () "Go to the buffer which is at the end of the buffer-list. This is the symmetric of burry-buffer." (interactive) (switch-to-buffer (nth (- (length (buffer-list)) 1) (buffer-list)))) (define-key global-map [(control mouse-4)] 'next-buffer) (define-key global-map [(control mouse-5)] 'bury-buffer) ;; Home and End selects buffer (global-set-key [C-home] 'next-buffer) (global-set-key [C-end] 'bury-buffer) ;; Disable binding of C-z to iconify a window. (global-unset-key "\C-z")