 (dolist (charset '(kana han symbol cjk-misc bopomofo))
   (set-fontset-font (frame-parameter nil 'font)
                     charset
-                    (font-spec :family "Microsoft Yahei" :size 12)))
+                    (font-spec :family "Yahei Mono" :size 12)))
 
-(global-linum-mode t)
 (setq tab-width 2)
 (setq js-indent-level 2)
 

(set-language-environment 'Chinese-gbk)
(set-default buffer-file-coding-system 'utf-8-unix)
(set-default-coding-systems 'utf-8-unix)
(setq-default pathname-coding-system 'euc-cn)

  "\\" 'evilnc-comment-operator ; if you prefer backslash key
  )

(require-package 'avy)
(global-set-key (kbd "C-'") 'avy-goto-word-1)
(global-set-key (kbd "C-0") 'avy-goto-word-0)
(global-set-key (kbd "C-|") 'avy-goto-line)
(define-key evil-normal-state-map (kbd "SPC w") 'avy-goto-word-1)
(define-key evil-normal-state-map (kbd "SPC 0") 'avy-goto-word-0)
(define-key evil-normal-state-map (kbd "SPC c") 'avy-goto-char)
(define-key evil-normal-state-map (kbd "SPC 2") 'avy-goto-char-2)
(define-key evil-normal-state-map (kbd "SPC l") 'avy-goto-line)

(if (version<= "26.0.50" emacs-version )
  (global-display-line-numbers-mode)
  (global-linum-mode 1))

;; (setq org-agenda-files (list "~/org/todo.org"))

(provide 'init-local)
