Created
February 17, 2010 17:16
-
-
Save mig/306820 to your computer and use it in GitHub Desktop.
Ubuntu custom 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
;; custom for ubuntu | |
(setq gem_home "/home/mig/.gem") | |
(setenv "GEM_HOME" gem_home) | |
;; Swap alt and meta in emacs | |
; (setq x-super-keysym 'meta) | |
(setq x-select-enable-clipboard t) | |
(setq interprogram-paste-function 'x-cut-buffer-or-selection-value) | |
(global-set-key (kbd "C-c b") 'eval-buffer) | |
(global-set-key (kbd "C-x f") 'recentf-ido-find-file) | |
(global-set-key (kbd "M-s") 'save-buffer) | |
(global-set-key (kbd "M-z") 'undo) | |
;; set line commenting to textmate style | |
(global-set-key (kbd "M-/") 'comment-or-uncomment-region) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment