Created
March 23, 2015 19:58
-
-
Save BernardNotarianni/10d6b06fb7beae6ee40e to your computer and use it in GitHub Desktop.
User file for ohai-emacs
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 characters
;;; | |
;;; user.el file for ohai-emacs | |
;;; | |
;;; https://github.com/BernardNotarianni/ohai-emacs | |
;;; | |
;;; | |
;;; backup files in /tmp | |
;;; | |
(setq backup-directory-alist | |
`((".*" . ,temporary-file-directory))) | |
(setq auto-save-file-name-transforms | |
`((".*" ,temporary-file-directory t))) | |
;;; | |
;;; windows navigation | |
;;; | |
(global-set-key (kbd "M-<left>") 'windmove-left) ; move to left windnow | |
(global-set-key (kbd "M-<right>") 'windmove-right) ; move to right window | |
(global-set-key (kbd "M-<up>") 'windmove-up) ; move to upper window | |
(global-set-key (kbd "M-<down>") 'windmove-down) ; move to downer window | |
(global-set-key (kbd "M-<next>") 'enlarge-window) | |
(global-set-key (kbd "M-<prior>") 'shrink-window) | |
;;; | |
;;; save all files | |
;;; | |
(global-set-key (kbd "\C-x\C-s") '(lambda () (interactive) (save-some-buffers t))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment