;;; Minimal Unbreak Emacs ; Waste of display space if you can't click on it (menu-bar-mode nil) ; This is off for efficiency reasons I guess. But really ; Emacs should have some heuristics for it instead of being ; dumb by default. (column-number-mode t) ; Really. (iswitchb-mode t) ; Assuming you didn't use Emacs from before when the concept of ; selecting a single region of text interactively was not supported. (transient-mark-mode t) ; This one is actually fixed in Emacs 22; http://www.emacswiki.org/cgi-bin/wiki/CopyAndPaste (setq x-select-enable-clipboard t) ; The default for "uniquifying" buffer names sucks (require 'uniquify) (setq uniquify-buffer-name-style 'post-forward-angle-brackets) ; Slightly more debatable (global-set-key (kbd "C-x C-b") 'ibuffer) (set-scroll-bar-mode 'right) ; Custom keybindings (global-set-key (kbd "C-c i") 'imenu) ;;; End Minimal Unbreak Emacs ;; Less minimal changes (global-set-key (kbd "C-z") 'undo) (tool-bar-mode nil) (server-start) ;; Really custom stuff (setq user-mail-address "walters@verbum.org") (setq viper-mode t) (require 'viper) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(safe-local-variable-values (quote ((js2-basic-offset . 4))))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) (put 'narrow-to-region 'disabled nil)