Created
January 23, 2012 15:46
-
-
Save pvieytes/1663892 to your computer and use it in GitHub Desktop.
archivo de configuración de emacs
This file contains 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 characters
;;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") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment