Simple image host.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ; Young .emacs for the powerful
  2. (custom-set-variables
  3. ;; custom-set-variables was added by Custom.
  4. ;; If you edit it by hand, you could mess it up, so be careful.
  5. ;; Your init file should contain only one such instance.
  6. ;; If there is more than one, they won't work right.
  7. '(custom-enabled-themes (quote (wombat)))
  8. '(inhibit-startup-screen t)
  9. '(make-backup-files nil)
  10. '(menu-bar-mode nil)
  11. '(scroll-bar-mode nil)
  12. '(tool-bar-mode nil)
  13. '(tooltip-mode nil))
  14. (add-to-list 'load-path "~/.emacs.d/")
  15. ;; Multiple Cursor
  16. (add-to-list 'load-path "~/.emacs.d/multiple-cursors")
  17. (require 'multiple-cursors)
  18. (global-set-key (kbd "C-c d") 'mc/edit-lines)
  19. (global-set-key (kbd "C-c x") 'mc/mark-all-like-this)
  20. (global-set-key (kbd "M-n") 'mc/mark-next-like-this)
  21. (global-set-key (kbd "M-p") 'mc/mark-previous-like-this)
  22. (add-to-list 'load-path "go-mode-load.el" t)
  23. (require 'go-mode-load)
  24. (require 'autopair)
  25. (autopair-global-mode)
  26. ;; keybind yo
  27. (global-set-key (kbd "M-]") 'shrink-window-horizontally)
  28. (global-set-key (kbd "M-[") 'enlarge-window-horizontally)
  29. ;; make whitespace-mode use just basic coloring
  30. (setq whitespace-style (quote (spaces tabs space-mark tab-mark)))
  31. (global-set-key (kbd "C-c w") 'whitespace-mode)
  32. (setq-default c-basic-offset 8
  33. tab-width 8
  34. indent-tabs-mode t)