Skip to content

Instantly share code, notes, and snippets.

@frkout
Created May 16, 2012 15:56
Show Gist options
  • Save frkout/2711568 to your computer and use it in GitHub Desktop.
Save frkout/2711568 to your computer and use it in GitHub Desktop.
;最低限欲しいemacs設定
;基本的にauto-install任せ、混乱を避けるため簡素に
;特に問題なければ alias emacs='emacs -nw' でお願いします
;;;load-path
(add-to-list 'load-path "~/.emacs.d/")
(add-to-list 'load-path "~/.emacs.d/auto-install/")
(set-language-environment 'Japanese)
(prefer-coding-system 'utf-8)
(setq default-coding-system 'utf-8)
(setq file-name-coding-system 'utf-8)
(menu-bar-mode -1)
(show-paren-mode 1)
(column-number-mode t)
;linum-mode
(global-linum-mode t)
(set-face-attribute 'linum nil
:foreground "black"
:background "white")
(setq linum-format "%3d ")
;;;;;;=======================;;;;;;
;auto-install
(require 'auto-install)
(setq auto-install-directory "~/.emacs.d/auto-install/")
(auto-install-update-emacswiki-package-name t)
(auto-install-compatibility-setup)
;popwin
;;;;(auto-install-from-url "https://raw.github.com/m2ym/popwin-el/v0.3/popwin.el")
(require 'popwin)
(setq display-buffer-function 'popwin:display-buffer)
;anything
(require 'anything-startup)
;quickrun
;(auto-install-from-url "https://raw.github.com/syohex/emacs-quickrun/master/quickrun.el")
(require 'quickrun)
(global-set-key (kbd "<f5>") 'quickrun)
;auto-complete
;;;;M-x auto-install-batch RET auto-complete development version RET
(require 'auto-complete)
(global-auto-complete-mode t)
;ac-python
;;;;M-x auto-install-from-url http://chrispoole.com/downloads/ac-python.el
(require 'ac-python)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment