Created
November 23, 2011 11:52
-
-
Save kkung/1388502 to your computer and use it in GitHub Desktop.
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
; 잡스런 설정 | |
(font-lock-mode 'font) | |
(global-font-lock-mode t) | |
(global-hl-line-mode t) | |
(transient-mark-mode t) | |
(set-face-font 'default "NanumGothicCoding-15") | |
(set-fontset-font "fontset-default" 'hangul '("NanumGothicCoding" . "unicode-bmp")) | |
;; Windows moving by Meta-Arrow Key | |
(windmove-default-keybindings 'meta) | |
;; anything | |
(add-to-list 'load-path (concat prelude-vendor-dir "anything/")) | |
(require 'anything-match-plugin) | |
(require 'anything-config) | |
;; textmate | |
(add-to-list 'load-path (concat prelude-vendor-dir "textmate/")) | |
(require 'textmate) | |
(textmate-mode) | |
;; smart-tab | |
;(require 'smart-tab) | |
;(global-smart-tab-mode 1) | |
;; tab-related | |
(setq-default indent-tabs-mode nil) ; use only spaces and no tabs | |
(setq default-tab-width 4) | |
;(smart-tabs-advice python-indent-line-1 python-indent) | |
(iswitchb-mode) | |
;; python-related | |
(require 'pymacs) | |
(autoload 'pymacs-apply "pymacs") | |
(autoload 'pymacs-call "pymacs") | |
(autoload 'pymacs-eval "pymacs" nil t) | |
(autoload 'pymacs-exec "pymacs" nil t) | |
(autoload 'pymacs-load "pymacs" nil t) | |
(setq ropemacs-enable-shortcuts nil) | |
(setq ropemacs-local-prefix "C-c C-p") | |
(setq ropemacs-global-prefix "C-c C-r") | |
(pymacs-load "ropemacs" "rope-") | |
(setq ropemacs-enable-autoimport t) | |
(add-hook 'python-mode-hook | |
(lambda () | |
(setq 'py-indent-offset 4) | |
(setq indent-tabs-mode nil) | |
(define-key python-mode-map (kbd "RET") 'newline-and-indent) | |
(smart-operator-mode-on) | |
(setq tab-width (default-value 'tab-width)))) | |
(require 'auto-complete-config) | |
(add-to-list 'ac-dictionary-directories "~/.emacs.d/elpa/auto-complete-1.4.20110207/dict") | |
(ac-config-default) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment