Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

first version

  • Loading branch information...
commit 3d58e9d8fc4dd4f26258c42fb3cf009b56b5ec2d 1 parent 134dce5
Carlo Sciolla authored
Showing with 64 additions and 0 deletions.
  1. +20 −0 .emacs
  2. +12 −0 .emacs.d/init.el
  3. +32 −0 .emacs.d/skuro.el
20 .emacs
View
@@ -0,0 +1,20 @@
+;;;;;;;;;;;;;;;;;;
+; Marmalade repo ;
+;;;;;;;;;;;;;;;;;;
+
+(require 'package)
+(add-to-list 'package-archives
+ '("marmalade" . "http://marmalade-repo.org/packages/") t)
+(package-initialize)
+(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.
+ '(custom-safe-themes (quote ("71b172ea4aad108801421cc5251edb6c792f3adbaecfa1c52e94e3d99634dee7" default))))
+(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.
+ )
12 .emacs.d/init.el
View
@@ -0,0 +1,12 @@
+(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.
+ '(custom-safe-themes (quote ("71b172ea4aad108801421cc5251edb6c792f3adbaecfa1c52e94e3d99634dee7" default))))
+(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.
+ )
32 .emacs.d/skuro.el
View
@@ -0,0 +1,32 @@
+;;;;;;;;;;;;
+; UI stuff ;
+;;;;;;;;;;;;
+
+(defun fix-frame-displacement ()
+ "Positions the current frame to [0, 0], used to recover a frame position whenever
+ it gets misplaced (e.g. after disconnecting the external monitor in OS X)"
+ (interactive)
+ (set-frame-size (selected-frame) 90 60)
+ (set-frame-position (selected-frame) 0 0))
+
+; (load-theme 'zenburn)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+; Cross machine experience ;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+; make sure marmalade is enabled
+
+(when (not package-archive-contents)
+ (package-refresh-contents))
+
+; Add in your own as you wish:
+(defvar my-packages '(starter-kit
+ starter-kit-lisp
+ starter-kit-bindings
+ zenburn-theme)
+ "A list of packages to ensure are installed at launch.")
+
+(dolist (p my-packages)
+ (when (not (package-installed-p p))
+ (package-install p)))
Please sign in to comment.
Something went wrong with that request. Please try again.