 (require 'chm-view)
 (setq browse-url-browser-function 'w3m-browse-url)
 
-;; Chinese pyim
-(require 'chinese-pyim)
-(require 'chinese-pyim-wbdict)
+;; Chinese wbim
+(autoload 'chinese-wbim-use-package "chinese-wbim" "Another emacs input method")
+;; Tooltip ʱ
+(setq chinese-wbim-use-tooltip nil)
 
-;;(setq default-input-method "chinese-pyim")
-(setq pyim-default-scheme 'wubi)
-;;(setq pyim-use-tooltip 'popup)
-(chinese-pyim-wbdict-gb2312-enable) ; gb2312 version
-(global-set-key (kbd "C-\\") 'toggle-input-method)
-(add-hook 'emacs-startup-hook
-            #'(lambda () (pyim-restart-1 t)))
+(register-input-method
+ "chinese-wbim" "euc-cn" 'chinese-wbim-use-package
+ "" "뷨" "wb.txt")
+
+;;  ; ʱӢ
+(require 'chinese-wbim-extra)
+(global-set-key ";" 'chinese-wbim-insert-ascii)
+
+;Ĭ뷨
+(setq default-input-method 'chinese-wbim)
 
 ;; get rid of menu bar in terminal emacs
 (if (equal window-system nil)

(add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
(setq web-mode-code-indent-offset 2)
(setq web-mode-css-indent-offset 2)
(setq web-mode-markup-indent-offset 2)

 ;; If there is more than one, they won't work right.
 '(coffee-tab-width 2)
 '(package-selected-packages
        (quote
         (git flycheck json-mode js2-mode web-mode w3m tidy textmate slime nodejs-repl idomenu emmet-mode color-theme chm-view chinese-wbim chinese-pyim-wbdict auto-complete))))

;; ido
(require 'ido)
