Skip to content

Instantly share code, notes, and snippets.

@frkout
Created July 13, 2012 16:45
Show Gist options
  • Save frkout/3105914 to your computer and use it in GitHub Desktop.
Save frkout/3105914 to your computer and use it in GitHub Desktop.
24の設定っぽいの
;;;emacs24設定
(require 'cl)
;;;日本語設定
(set-language-environment 'Japanese)
(prefer-coding-system 'utf-8)
(setq default-coding-systems 'utf-8)
(setq file-name-coding-system 'utf-8)
;;;フォント(ricty)
(set-fontset-font
nil 'japanese-jisx0208
(font-spec :family "Ricty"))
;;;色
(custom-set-variables
'(custom-enabled-themes (quote (tango-dark)))
'(inhibit-startup-screen t))
(custom-set-faces
(set-frame-parameter nil 'alpha 95)
)
;;;外観
;スクロールバーを消す
(set-scroll-bar-mode 'nil)
;対応する括弧を光らせる
(setq show-paren-delay 0)
(setq show-paren-style 'single)
(show-paren-mode t)
;;;行番号の表示
(global-linum-mode t)
(setq linum-format "%4d: ")
;;;package.el
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t)
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
(package-initialize)
;;;----------------------------------------------
;;;popwin.el :pop up window for wmacs baffer
;;M-x package-install RET popwin
(require 'popwin)
(setq display-buffer-function 'popwin:display-buffer)
;;;helm.el : fork of anything
;;M-x package-install RET helm
(require 'helm)
(require 'helm-config)
(helm-mode 1)
(global-set-key (kbd "M-x") 'helm-M-x)
(setq helm-samewindow nil)
(push '("*helm-M-x*") popwin:special-display-config)
;;;autocomplete.el
;;M-x package-install RET auto-complete
(require 'auto-complete)
(global-auto-complete-mode t)
;;;quickrun
;;M-x package-install RET quickrun
(require 'quickrun)
(global-set-key (kbd "<f5>") 'quickrun)
;;;powerline
;;M-x package-install RET powerline
(require 'powerline)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment