Created
June 3, 2014 15:22
-
-
Save shunsugai/05d1bee02eae2e2f4e0f to your computer and use it in GitHub Desktop.
emacs settings
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
;; | |
;; init.el | |
;; | |
;; -*- mode: emacs-lisp; coding: utf-8; indent-tabs-mode: nil -*- | |
;; Language | |
(set-language-environment 'Japanese) | |
;; Set alt as Meta key | |
(setq ns-alternate-modifier (quote meta)) | |
(show-paren-mode t) | |
(setq show-paren-delay 0) | |
(line-number-mode 1) | |
(column-number-mode 1) | |
(global-linum-mode t) | |
(set-face-attribute 'default nil | |
:family "Menlo" | |
:height 150) | |
(set-fontset-font | |
nil 'japanese-jisx0208 | |
;;(font-spec :family "Hiragino Mincho Pro")) | |
(font-spec :family "Hiragino Kaku Gothic ProN")) | |
(require 'package) | |
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/")) | |
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/")) | |
(package-initialize) | |
;; auto-complete | |
(require 'auto-complete) | |
(require 'auto-complete-config) | |
(global-auto-complete-mode t) | |
(define-key ac-completing-map (kbd "M-n") 'ac-next) | |
(define-key ac-completing-map (kbd "M-p") 'ac-previous) | |
(setq ac-auto-start nil) | |
(ac-set-trigger-key "TAB") | |
(load-theme 'monokai t) | |
(blink-cursor-mode 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment