Simple image host.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.emacs 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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-[") 'enlarge-window-horizontally)
  28. (global-set-key (kbd "M-]") 'shrink-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)
  35. (custom-set-faces
  36. ;; custom-set-faces was added by Custom.
  37. ;; If you edit it by hand, you could mess it up, so be careful.
  38. ;; Your init file should contain only one such instance.
  39. ;; If there is more than one, they won't work right.
  40. '(default ((t (:family "Terminus" :foundry "xos4" :slant normal :weight normal :height 90 :width normal)))))